Collider:isKinematic

Edit

Returns whether the Collider is kinematic.

Kinematic colliders behave like they have infinite mass. They ignore forces applied to them from gravity, joints, and collisions, but they can still move if given a velocity. Kinematic colliders don't collide with other kinematic colliders. They're useful for static environment objects in a level, or for objects that have their position managed outside of the physics system like tracked hands.

kinematic = Collider:isKinematic()

Arguments

None

Returns

NameTypeDescription
kinematicboolean Whether the Collider is kinematic.

Notes

If a Collider has a MeshShape or a TerrainShape, it will always be kinematic.

See also