- Home /
Test if object is in other object & move object down if there is room
I am working on a game and I want to make it so that if part of the character is in a floating cube or something it will move them under it even if their center is above the cube. And if there is not enough room for the player underneath it then it will move them on top.
does anyone have any ideas or know of ways to do either of these things?
(thx in advance)
Comment