Click or drag to resize
RigidBody Properties

The RigidBody type exposes the following members.

Properties
  NameDescription
Public property_GameObject
Get the game object this component is attached to.
(Inherited from BaseComponent.)
Public propertyAngularDamping
Get / set angular damping.
Public propertyAngularFactor
Get / set angular factor.
Public propertyAngularVelocity
Get / set current body angular velocity.
Public propertyBoundingBox
Get the bounding box of the physical body.
Public propertyCollisionGroup
The collision group this body belongs to. Note: compare bits mask.
(Inherited from BasePhysicsComponent.)
Public propertyCollisionMask
With which collision groups this body will collide? Note: compare bits mask.
(Inherited from BasePhysicsComponent.)
Public propertyEnabled
Is this component currently enabled.
(Inherited from BaseComponent.)
Public propertyEnableSimulation
Get / set simulation state. If true, will simulate forces etc on this body (default). If false, will not simulate forces and basically behave like a kinematic body.
(Inherited from BasePhysicsComponent.)
Public propertyFriction
Get / set body friction.
(Inherited from BasePhysicsComponent.)
Public propertyGravity
Set / get body gravity (if undefined, will use world default).
Public propertyInertia
Get / set body inertia.
Public propertyInvokeCollisionEvents
If true (default) will invoke collision events. You can turn this off for optimizations.
(Inherited from BasePhysicsComponent.)
Public propertyIsEthereal
If ethereal, other bodies will be able to pass through this object, but it will still trigger contact events.
(Inherited from BasePhysicsComponent.)
Public propertyIsKinematic
Return if this is a kinematic object.
(Inherited from BasePhysicsComponent.)
Public propertyIsStatic
Return if this is a static object.
(Inherited from BasePhysicsComponent.)
Public propertyLinearDamping
Get / set linear damping.
Public propertyLinearFactor
Get / set linear factor.
Public propertyLinearVelocity
Get / set current body linear velocity.
Public propertyMass
Get / set body mass.
Public propertyName
Get / set the name of this component.
(Inherited from IComponent.)
Public propertyPosition
Get / set current body position.
(Inherited from BasePhysicsComponent.)
Public propertyRestitution
Get / set body restitution.
(Inherited from BasePhysicsComponent.)
Public propertyScale
Set / get body scale.
(Inherited from BasePhysicsComponent.)
Public propertyWorldTransform
Get / set physical body world transformation.
(Inherited from BasePhysicsComponent.)
Top
See Also