UpdateDirection
Declaration
public sealed enum Strawberry.Components.Physics.UpdateDirection
The way the transformation elements are updated relative to the world and physics
Members
| Name | Value | Description |
|---|---|---|
PhysicsToWorld |
0 | The transformation is retrieved from physical world. |
WorldToPhysics |
1 | The physical body is moved to TransformComponent's position, (Used for collision detection only) |
Fields
PhysicsToWorld static
The transformation is retrieved from physical world.
UpdateDirection PhysicsToWorld = 0
WorldToPhysics static
The physical body is moved to TransformComponent's position, (Used for collision detection only)
UpdateDirection WorldToPhysics = 1