A place to discuss everything related to Newton Dynamics.
Moderators: Sascha Willems, walaber
by ianhfar » Wed Jun 15, 2011 6:25 am
Do Compound collisions return an all encompassing AABB or will it treat each component in the compound seperately.
What I'm try to determineis, in OgreNewt I have a compound object made up of 3 cubes spaced in a triangle layout. If I enter the triangle, but don't physically intercept one of the cubes I get a AABBIterator_IteratorCallback claiming I have collided. Is this standard practice or is the Ogrenewt implementation wrong ?
-
ianhfar
-
- Posts: 4
- Joined: Wed Jun 15, 2011 6:17 am
- Location: UK
by Julio Jerez » Wed Jun 15, 2011 6:33 am
the aabb report the encompsing aabb,
ther is one callback for the idividual pieces which is part of the compound shape, but I do not knwo if is used by ogrenewt.
-
Julio Jerez
- Moderator

-
- Posts: 12426
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by ianhfar » Wed Jun 15, 2011 11:56 am
Thanks Julio
I'll have to dive into the Ogrenewt implementation to try determine why it is not using the correct callback, it seem to be using the encompsing aabb for the call back
-
ianhfar
-
- Posts: 4
- Joined: Wed Jun 15, 2011 6:17 am
- Location: UK
Return to General Discussion
Who is online
Users browsing this forum: No registered users and 0 guests