Click or drag to resize
BasicPhysicalBody Properties

The BasicPhysicalBody type exposes the following members.

Properties
  NameDescription
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 propertyEnableSimulation
If false, will not simulate forces on this body and will make it 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 propertyIsActive
Return if the physical body is currently active.
Public propertyIsEthereal
If true, this object will not have a physical body (eg other objects will pass through it), but will still trigger contact events.
Public propertyIsKinematic
Return if this is a kinematic object.
Public propertyIsStatic
Return if this is a static object.
Public propertyPosition
Get / set body position.
Public propertyRestitution
Get / set body restitution.
Public propertyScale
Get / Set body scale.
Public propertyShape
Get the collision shape.
Public propertyWorldTransform
Get world transform from physical body.
Top
See Also