Method GetRotation
GetRotation(in PhysicsWorld, int)
An in PhysicsWorld extension method that gets a rotation.
Declaration
public static quaternion GetRotation(this in PhysicsWorld world, int rigidBodyIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| PhysicsWorld | world | The world to act on. |
| int | rigidBodyIndex | Zero-based index of the rigid body. |
Returns
| Type | Description |
|---|---|
| quaternion | The rotation. |