Collision checking?
Posted: Tue Jul 05, 2011 11:57 am
Hi guys
I have two actors that require collision. One is the player actor and the other is a scenery actor.
I want to be able to check if an actor can move into a space before they do. Ideally I would use a function to check the proposed 2d vector and return a Boolean value that identified if it was occupied.
Does such a thing exist? If not how would I set one up?
Cheers,
Guardian
I have two actors that require collision. One is the player actor and the other is a scenery actor.
I want to be able to check if an actor can move into a space before they do. Ideally I would use a function to check the proposed 2d vector and return a Boolean value that identified if it was occupied.
Does such a thing exist? If not how would I set one up?
Cheers,
Guardian