![]() |
Jolt Physics
A multi core friendly Game Physics Engine
|
#include <CompoundShape.h>
Public Attributes | |
| RefConst< ShapeSettings > | mShape |
| Sub shape (either this or mShapePtr needs to be filled up) | |
| RefConst< Shape > | mShapePtr |
| Sub shape (either this or mShape needs to be filled up) | |
| Vec3 | mPosition |
| Position of the sub shape. | |
| Quat | mRotation |
| Rotation of the sub shape. | |
| uint32 | mUserData = 0 |
| Vec3 CompoundShapeSettings::SubShapeSettings::mPosition |
Position of the sub shape.
| Quat CompoundShapeSettings::SubShapeSettings::mRotation |
Rotation of the sub shape.
| RefConst<ShapeSettings> CompoundShapeSettings::SubShapeSettings::mShape |
Sub shape (either this or mShapePtr needs to be filled up)
Sub shape (either this or mShape needs to be filled up)
| uint32 CompoundShapeSettings::SubShapeSettings::mUserData = 0 |
User data value (can be used by the application for any purpose). Note this value can be retrieved through GetSubShape(...).mUserData, not through GetSubShapeUserData(...) as that returns Shape::GetUserData() of the leaf shape. Use GetSubShapeIndexFromID get a shape index from a SubShapeID to pass to GetSubShape.