BasicPhysicalBody Properties |
The BasicPhysicalBody type exposes the following members.
Name | Description | |
---|---|---|
![]() | CollisionGroup |
The collision group this body belongs to.
Note: compare bits mask.
|
![]() | CollisionMask |
With which collision groups this body will collide?
Note: compare bits mask.
|
![]() | EnableSimulation |
If false, will not simulate forces on this body and will make it behave like a kinematic body.
|
![]() | Friction |
Get / set body friction.
|
![]() | InvokeCollisionEvents |
If true (default) will invoke collision events.
You can turn this off for optimizations.
|
![]() | IsActive |
Return if the physical body is currently active.
|
![]() | IsEthereal |
If true, this object will not have a physical body (eg other objects will pass through it), but will still trigger contact events.
|
![]() | IsKinematic |
Return if this is a kinematic object.
|
![]() | IsStatic |
Return if this is a static object.
|
![]() | Position |
Get / set body position.
|
![]() | Restitution |
Get / set body restitution.
|
![]() | Scale |
Get / Set body scale.
|
![]() | Shape |
Get the collision shape.
|
![]() | WorldTransform |
Get world transform from physical body.
|