Jump to content

Is a Collision


Rekindled Phoenix
 Share

Recommended Posts

Just curious but why won't the callbacks work for you in this case? If you need to do some conditions based on multiple things being collided with you can use some flags to get that working. Otherwise I can't see why you would have issues with using a callback.

 

I believe Josh did this so he didn't have to store all that collision data each cycle.

Link to comment
Share on other sites

I have one thread that creates a collection of bodies and I wanted to instantaneously determine which of them are not colliding with a particular entity type. I guess I could use an asynchronous delegate or call a pick to see if an entity is visible instead.

 

I do agree with Josh's reason for removing the method call though. Thanks Rick

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...