Collider:isKinematic
EditReturns whether the Collider is kinematic.
kinematic = Collider:isKinematic()
Arguments
None
Returns
Name | Type | Description |
kinematic | boolean | Whether the Collider is kinematic. |
Notes
Kinematic colliders behave as though they have infinite mass, ignoring external forces like gravity, joints, or collisions (though non-kinematic colliders will collide with them). They can be useful for static objects like floors or walls.
See also
Collider:setKinematic
Collider