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

Parameters

NameTypeDescription
mass = 0 float The mass of the body. Default is 0.
surface = null Surface The surface properties to apply. Default is default.
boneName = null string Optional name of the bone this body is attached to. Leave empty for non-skeletal bodies.

Returns

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