Click or drag to resize
BasePhysicsComponent Properties

The BasePhysicsComponent type exposes the following members.

Properties
  NameDescription
Public property_GameObject
Get the game object this component is attached to.
(Inherited from BaseComponent.)
Public propertyCollisionGroup
The collision group this body belongs to. Note: compare bits mask.
Public propertyCollisionMask
With which collision groups this body will collide? Note: compare bits mask.
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.
Public propertyFriction
Get / set body friction.
Public propertyInvokeCollisionEvents
If true (default) will invoke collision events. You can turn this off for optimizations.
Public propertyIsEthereal
If ethereal, other bodies will be able to pass through this object, but it will still trigger contact events.
Public propertyIsKinematic
Return if this is a kinematic object.
Public propertyIsStatic
Return if this is a static object.
Public propertyName
Get / set the name of this component.
(Inherited from IComponent.)
Public propertyPosition
Get / set current body position.
Public propertyRestitution
Get / set body restitution.
Public propertyScale
Set / get body scale.
Public propertyWorldTransform
Get / set physical body world transformation.
Top
See Also