| lx=1.0, ly=1.0, lz=1.0, segmentsx=1, segmentsy=1, segmentsz=1) |
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 |