RigidBody Properties |
The RigidBody type exposes the following members.
Name | Description | |
---|---|---|
![]() | _GameObject |
Get the game object this component is attached to.
(Inherited from BaseComponent.) |
![]() | AngularDamping |
Get / set angular damping.
|
![]() | AngularFactor |
Get / set angular factor.
|
![]() | AngularVelocity |
Get / set current body angular velocity.
|
![]() | BoundingBox |
Get the bounding box of the physical body.
|
![]() | CollisionGroup |
The collision group this body belongs to.
Note: compare bits mask.
(Inherited from BasePhysicsComponent.) |
![]() | CollisionMask |
With which collision groups this body will collide?
Note: compare bits mask.
(Inherited from BasePhysicsComponent.) |
![]() | Enabled |
Is this component currently enabled.
(Inherited from BaseComponent.) |
![]() | EnableSimulation |
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.) |
![]() | Friction |
Get / set body friction.
(Inherited from BasePhysicsComponent.) |
![]() | Gravity |
Set / get body gravity (if undefined, will use world default).
|
![]() | Inertia |
Get / set body inertia.
|
![]() | InvokeCollisionEvents |
If true (default) will invoke collision events.
You can turn this off for optimizations.
(Inherited from BasePhysicsComponent.) |
![]() | IsEthereal |
If ethereal, other bodies will be able to pass through this object, but it will still trigger contact events.
(Inherited from BasePhysicsComponent.) |
![]() | IsKinematic |
Return if this is a kinematic object.
(Inherited from BasePhysicsComponent.) |
![]() | IsStatic |
Return if this is a static object.
(Inherited from BasePhysicsComponent.) |
![]() | LinearDamping |
Get / set linear damping.
|
![]() | LinearFactor |
Get / set linear factor.
|
![]() | LinearVelocity |
Get / set current body linear velocity.
|
![]() | Mass |
Get / set body mass.
|
![]() | Name |
Get / set the name of this component.
(Inherited from IComponent.) |
![]() | Position |
Get / set current body position.
(Inherited from BasePhysicsComponent.) |
![]() | Restitution |
Get / set body restitution.
(Inherited from BasePhysicsComponent.) |
![]() | Scale |
Set / get body scale.
(Inherited from BasePhysicsComponent.) |
![]() | WorldTransform |
Get / set physical body world transformation.
(Inherited from BasePhysicsComponent.) |