Skip to content

PhysicsSimLocalSettings

16.7 Value struct

Class Documentation

Edit documentation

The gravity of one dynamics chain. The gravity of the simulation is GravityScale times a gravity vector. The vector is GravityOverride when that is set, and the Gravity of PhysicsSimGlobalSettings when it is not.

Properties

0xf057d92a

F32 = 1
16.20
Add documentation

No documentation available yet. Click "Add documentation" to contribute!

GravityOverride

Option<Vec3> = null
Edit documentation

A gravity vector for this modifier, in world units per second squared, in world axes. It replaces the global gravity. GravityScale still applies to it. Not set: the global gravity is used.

GravityScale

F32 = 1
Edit documentation

Multiplies the gravity. 1 is normal gravity, 0 gives no gravity, so the joints only move by the motion of the character and by the pull to the animated pose. A negative value makes the joints rise.

Referenced by 1 class · 1 property