Checking if an object is in collision state

I need to check if my player object is is collision with any other object at 1 point of time.

Is there any straight forward method to do this? (apart from setting a flag alternatively for every “began” and “ended” phase) ? [import]uid: 64174 topic_id: 15227 reply_id: 315227[/import]

Is there a reason you don’t want to use a flag? It is a VERY straightforward method (once you know how, of course) :slight_smile:

Is it that you aren’t sure how to do this? If so, let me know, I can help you, I’m sure.

Peach :slight_smile: [import]uid: 52491 topic_id: 15227 reply_id: 56249[/import]

No specific reason. wondered if there was an inbuilt function or something… to make things (more)easier :smiley: :smiley:

Thanks for replying though! I m fine working with flags! :slight_smile: [import]uid: 64174 topic_id: 15227 reply_id: 56269[/import]

No worries; glad to hear flags are fine for you :slight_smile:

There would be ways to work out if two objects were touching but all would ultimately either need a flag or some code more “complicated” than using said flags to begin with :wink:

Peach [import]uid: 52491 topic_id: 15227 reply_id: 56363[/import]

Roger! Thanks a lot! :slight_smile: [import]uid: 64174 topic_id: 15227 reply_id: 56507[/import]