Physics2DServerSingleton.BodyParameter

Values

ValueMeaning
bodyParamBounce0

Constant to set/get a body's bounce factor.

bodyParamFriction1

Constant to set/get a body's friction.

bodyParamMass2

Constant to set/get a body's mass.

bodyParamInertia3

Constant to set/get a body's inertia.

bodyParamGravityScale4

Constant to set/get a body's gravity multiplier.

bodyParamLinearDamp5

Constant to set/get a body's linear dampening factor.

bodyParamAngularDamp6

Constant to set/get a body's angular dampening factor.

bodyParamMax7

This is the last ID for body parameters. Any attempt to set this property is ignored. Any attempt to get it returns 0.

Meta