Games No position for B2CircleShape in XUI2D

Erel

Administrator
Staff member
Licensed User
(Moved to the games forum)
A missing feature is not a bug.
However the feature isn't missing.

The simplest way to create complex bodies is with Tiled:
java_We4B257oCy.png

Example: https://www.b4x.com/android/forum/threads/xui2d-image-body-different-size.105212/#post-659107

Creating a non-centered circle shape:
java_6McIImMHUr.png


B4X:
Dim circle As B2CircleShape
circle.Initialize(0.3)
circle.SupportVertex.Set(0.5, 0.5)
 
Top