Disabling collisions on objects

Is there a way to disable collisions on an object? I know you can do it for the camera, but I need to know how for objects like the square. It would be very handy for triggers.

Thank you in advance

1 Like

Hi @sam.philips,

Selecting items to be ignored by the camera collision is currently not possible in CoBlocks. However, you can achieve this effect via scripting:

//Find the item to be added to the collision filter
let trigger = Scene.getItem("trigger");

//Add the item to the collision filter

Check out the example below to see how you can combine CoBlocks collision events to check for collision of the trigger in combination with scripting to add an item to be ignored by the camera collision.

Hope this helps!

1 Like