Collision Detection
Posted: Sun Sep 28, 2008 6:13 am
Hello guys
Well i am planning to implement a simple crowd
My steps were like this
I loaded the MD2 model "sydney" placed her in the world. I wanted here to move in any direction so i wrote a custom animator for her.
Now i used the collision response animator as said from the tutorial.
What i want to do is if the model collides with the object it should change its direction and try again.
What i am not understanding is how i use the collisionresponseanimator class. Is there something like OnCollision event. i couldnt find something in the API Manual
Any sample source codes,books etc will be greatly appreciated
Well i am planning to implement a simple crowd
My steps were like this
I loaded the MD2 model "sydney" placed her in the world. I wanted here to move in any direction so i wrote a custom animator for her.
Now i used the collision response animator as said from the tutorial.
What i want to do is if the model collides with the object it should change its direction and try again.
What i am not understanding is how i use the collisionresponseanimator class. Is there something like OnCollision event. i couldnt find something in the API Manual
Any sample source codes,books etc will be greatly appreciated