Object Collision expressions
Hi there. I was wondering if anyone knew if there was an expression / calculation for letting active objects only semi-collide with obstacles.
E.g. say the Main character (active) colides with a wall (backdrop or active) instead of stopping as soon as he reaches the wall he overlaps it a little first (to give a more realistic effect).
anybody know how to do this without having to put invisible barriers in?
Re: Object Collision expressions
actually that kinda happens by default in custom movements if you don't correct for it
you'll need to use a rectangular collision mask object smaller than your main sprite, though, and have it centered in that sprite; then just test for background collisions with the mask instead of the player sprite