Interface
ShapeComponent.convexRadius
0.05 (m) Copy
0.05 (m)
ShapeComponent.density
1000 Copy
1000
ShapeComponent.halfExtent
Vec3(0.5, 0.5, 0.5) Copy
Vec3(0.5, 0.5, 0.5)
ShapeComponent.halfHeight
0.5 (m) Copy
0.5 (m)
ShapeComponent.radius
Scales the shape. Uniform scale is always fine. Non-uniform scale is supported only by some shapes. For example:
X
Z
Vec3(1, 1, 1) Copy
Vec3(1, 1, 1)
ShapeComponent.shapePosition
Vec3(0, 0, 0) Copy
Vec3(0, 0, 0)
ShapeComponent.shapeRotation
Quat(0, 0, 0, 1) Copy
Quat(0, 0, 0, 1)
See
ShapeComponent.convexRadius
Default Value