Softbody-rigidbody collision callback question

Ugras
Posts: 34
Joined: Wed Dec 30, 2009 8:30 pm

Softbody-rigidbody collision callback question

Post by Ugras »

Dear all,
I cannot get softbody-rigidbody collision events in my customNearCallback() function. While studying the engine codes, I noticed somewhere that softbody collision events are not reported in customNearCallback(). Is that true? If yes, what should be the way? Should I raycast to every node of the softbody in every frame???
Regards,
Ugras
Ugras
Posts: 34
Joined: Wed Dec 30, 2009 8:30 pm

Re: Softbody-rigidbody collision callback question

Post by Ugras »

Any ideas or recommendations?
Regards
ghosting
Posts: 3
Joined: Fri Jun 25, 2010 9:07 am

Re: Softbody-rigidbody collision callback question

Post by ghosting »

i think you should find the distance for every Node from softbody between rigidbody.
you can use the algorithmus in CollisionDemo .