PhysicsBodyBuilder AddBody (float mass, Surface surface, string boneName)

Parameters

NameTypeDescription
mass = 0 float The mass in kilograms. A value of 0 calculates mass from the body's shapes and surface density.
surface = null Surface The surface properties applied to the body.
boneName = null string Optional name of the bone this body is attached to. Leave empty for non-skeletal bodies.

Returns

TypeDescription
PhysicsBodyBuilder A builder for the new body.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.