About Store Forum Documentation Contact
Donations:
188$/mo



Post Reply 
Collision group
Author Message
Solimo Offline
Member

Post: #1
Collision group
Hello,

Is there a simple way to check if multiple, for example identical, objects collide. Simple collision doesn't fit this problem, because I have got collision for each collision type. So again - if group 1 collide with group 1 everything works fine but object collide with itself. I found out "ugly" way to skip it but is there a clear one? (Important is that i need to extend(change w,h,d,) of actor box and store it in variable - its why box collide with its owner).

Second thing - can i get access to pointer of colliding boxes, or better to colliding actors who provided those boxes. Now it works, but no one know who collide with who - AI could be much better if it knows more about colliders.

Thanks for help,
Solimo
08-02-2010 05:12 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Collision group
you can check Physics.cuts with callbacks, inside get information about all physical actors

or Game::World.objGet to get info about all nearby Game objects
08-02-2010 05:19 PM
Find all posts by this user Quote this message in a reply
Post Reply