It works but the hitbox of the 3d shape is completely off, so my square can go into the shape but theirs also an invisible wall because of the weird hitbox. I only need the shape to pârtially go over the 3d object that's why I need the hitbox.
(I am also using a 3d camera)