Table of Contents

Method b3Body_SetGravityScale

Namespace
Box3D.Native
Assembly
Box3D.NET.Native.dll

b3Body_SetGravityScale(b3BodyId, float)

Adjust the gravity scale. Normally this is set in b3BodyDef before creation.

public static extern void b3Body_SetGravityScale(b3BodyId bodyId, float gravityScale)

Parameters

bodyId b3BodyId

See the Box3D documentation.

gravityScale float

See the Box3D documentation.

Remarks

See b3BodyDef::gravityScale @see b3BodyDef::gravityScale