Detecting which side of a solid rectangle actor the player actor has collided with

JosephMJosephM Member Posts: 4
edited August 2012 in Working with GS (Mac)
In my platform game, I'm trying to find out how to determine which side of a solid square/rectangle actor the player actor has collided with.

I'd like to write this to an attribute so I can make some events only happen when the player collides with the top, or the left side etc.


I've been trying to find out how to accomplish this for a few hours now and I've got nowhere. I thought I'd be able to use AngleToVector but for some reason that's not even returning a value (not sure why!)

Any help? Thanks, Joseph

Comments

Sign In or Register to comment.