constraint.NoCollide
Entity constraint.NoCollide( Entity ent1, Entity ent2, number bone1, number bone2, boolean disableOnRemove = false )
Description
Creates an no-collide "constraint". Disables collision between two entities.
Does not work with players.
Arguments
5 boolean disableOnRemove = false
If set, the nocollide will be reversed if the constraint is removed.
This was recently added in version (2024.10.29). It might only be available on the Dev Branch right now.
Returns
1 Entity
The created constraint. (logic_collision_pair) Will return
false
if the constraint could not be created.