Struct DynamicsWorld
A collection of motion information used during physics simulation.
Implements
Inherited Members
Namespace: Unity.Physics
Assembly: solution.dll
Syntax
[NoAlias]
public struct DynamicsWorld : IDisposable
Constructors
| Name | Description |
|---|---|
| DynamicsWorld(int, int) | Construct a dynamics world with the given number of uninitialized motions. |
Properties
| Name | Description |
|---|---|
| Joints | Gets the joints. |
| MotionDatas | Gets the motion datas. |
| MotionVelocities | Gets the motion velocities. |
| NumJoints | Gets the number of joints. |
| NumMotions | Gets the number of motions. |
Methods
| Name | Description |
|---|---|
| Clone() | Clone the world. |
| Dispose() | Free internal memory. |
| GetJointIndex(Entity) | Gets the zero-based index of the joint. |
| Reset(int, int) | Resets this object. |
| UpdateJointIndexMap() | Updates the joint index map. |