lx, ly and lz specify the dimensions of the box in the respective direction.
segmentsx, segmentsy and segmentsz are the number of segments in each direction.
A BoxGeom has the following slots:
| Slot | Type | Access | Description |
|---|---|---|---|
| cog_slot | vec3 | r | The local center of gravity |
| inertiatensor_slot | mat3 | r | The local inertia tensor |
| lx_slot | float | rw | The length in x direction |
| ly_slot | float | rw | The length in y direction |
| lz_slot | float | rw | The length in z direction |
| segmentsx_slot | int | rw | The number of segments in x direction |
| segmentsy_slot | int | rw | The number of segments in y direction |
| segmentsz_slot | int | rw | The number of segments in z direction |
Center of gravity with respect to the local coordinate system.
Inertia tensor with respect to the local coordinate system.
The length in x direction.
The length in y direction.
The length in z direction.
The number of segments in x direction.
The number of segments in y direction.
The number of segments in z direction.