Member of ML.SDK.MLPlayer
Method
void MLPlayer.SetGravityAxis(Vector3 axis, bool relativeToPlayer)
void MLPlayer.SetGravityAxis(Vector3 axis, bool relativeToPlayer);
Parameters
Parameter | Type | Description |
---|---|---|
axis | Vector3 | Gravity axis |
relativeToPlayer | bool | If true, the given gravity direction applied as relative to player. If false, it will be applied as global direction. |
Returns
Summary
Set the gravity axis of the player.