nodes collision response?

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
Alleycat
Posts: 6
Joined: Mon Jun 11, 2007 5:14 pm

nodes collision response?

Post by Alleycat »

the tutorial shows example of collision between two nodes.
from what I understand and read in the forum there's no way to be notified when collision ocurred (for example a car driving in arena needs collision response).

I tried looking inside SceneCollisionManager::getCollisionResultPosition but did not understand yet where to the apply the changes to get collision response, I thought about sending an event if collsion occur.
Some tips would be appreciated...

BTW, does the manager checks all the triangles every frame? I saw in the code a loop over all the triangles.

Also, I know I can use a library like Newton but I prefer trying to do some work and learn something..
Post Reply