About Store Forum Documentation Contact

Post Reply 
Collision group
Author Message
Solimo Offline

Post: #1
Collision group

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,
08-02-2010 05:12 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline

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