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