Enumeration Casemigueldeicaza.swiftgodot 0.45.0SwiftGodot
centerOfMass
Constant to set/get a body’s center of mass position in the body’s local coordinate system.
PhysicsServer3D.swift:491case centerOfMass
Other cases
case bounce
Constant to set/get a body’s bounce factor.
case friction
Constant to set/get a body’s friction.
case mass
Constant to set/get a body’s mass.
case inertia
Constant to set/get a body’s inertia.
case gravityScale
Constant to set/get a body’s gravity multiplier.
case linearDampMode
Constant to set/get a body’s linear damping mode. See
BodyDampMode
for possible values.case angularDampMode
Constant to set/get a body’s angular damping mode. See
BodyDampMode
for possible values.case linearDamp
Constant to set/get a body’s linear damping factor.
case angularDamp
Constant to set/get a body’s angular damping factor.
case max
Represents the size of the
BodyParameter
enum.