Tutorial: Capsule Geometry

Capsule Geometry


Capsule geometry


  • local_transform


Attribute Type Default Description
radius float 0.5 Radius of the spheres at each end of the capsule
height float 1 Height of the cylindrical part of the capsule
axis int32_t 1 Alignment axis, 0 for X, 1 for Y, 2 for Z
isAdditive bool true True for additive, false for subtractive
offset vec3 [ 0, 0, 0 ] Geometry offset