Method MoveBody
MoveBody(Vector3)
Applies the given motion to linkedBody. A collision can constrain the movement from taking place.
Declaration
CollisionFlags MoveBody(Vector3 motion)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3 | motion | Amount of translation to apply. |
Returns
| Type | Description |
|---|---|
| CollisionFlags | Returns flags that indicate the direction of the collision, if there was one. |