Overloads
PhysicsShape AddSphereShape (Vector3 center, float radius, bool rebuildMass)

Parameters

NameTypeDescription
center Vector3 Center of the sphere, relative to of this body.
radius float Radius of the sphere.
rebuildMass = True bool Whether the mass should be recalculated after adding the shape.

Returns

TypeDescription
PhysicsShape The newly created shape, if any.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.