Collision detection of physics object [SOLVED]

I’m making a brick laying game. I want to detect when the cursor ‘ghost brick’ overlaps with a solid (physics) brick to prevent a new brick being placed there - but it shunts the physics object out the way.

How do I detect an overlap without it moving the physics brick?

Could you add a kinematic collision object to the solid brick which collides with the ghost brick and nothing else? Then set the ghost brick to only collide with the kinematic collision object, not the physics one.

2 Likes

Yes! That works perfectly - thanks Alex :slightly_smiling_face:

2 Likes