cutecutekid
06-11-2012 07:32:36
Hi.
I am sorry if this question has been asked before.
Is there a function that help me check when two objects collide with each other? For example, i have 2 rigid bodies moving in a world. i want to know when these two bodies collide so that i can do my post-collision by myself.
I've tried
in btCollisionObject. But somehow it always return true for me, even though the two objects' wireframe rigid body are really far apart.
Thanks alot!
I am sorry if this question has been asked before.
Is there a function that help me check when two objects collide with each other? For example, i have 2 rigid bodies moving in a world. i want to know when these two bodies collide so that i can do my post-collision by myself.
I've tried
inline bool checkCollideWith(btCollisionObject* co)
in btCollisionObject. But somehow it always return true for me, even though the two objects' wireframe rigid body are really far apart.
Thanks alot!