mickey
24-12-2008 04:19:46
Hi
I'm trying to trace how OgreBullet renders the shape. When I look at OgreBulletListener::frameStarted(...), I don't see any code or hints where all the rigid bodies in the world are being drawn.
I thought of probably there's a pointer or something that "connects" a scene node to a rigid body, so when the rigid body gets updated in a simulation step, the scene node gets updated as well, but I'd like to find out how this is done.
Else please let me know which file I can how the scene node's position and orientatino gets updated.
Thanks in advance and Merry Christmas!
I'm trying to trace how OgreBullet renders the shape. When I look at OgreBulletListener::frameStarted(...), I don't see any code or hints where all the rigid bodies in the world are being drawn.
I thought of probably there's a pointer or something that "connects" a scene node to a rigid body, so when the rigid body gets updated in a simulation step, the scene node gets updated as well, but I'd like to find out how this is done.
Else please let me know which file I can how the scene node's position and orientatino gets updated.
Thanks in advance and Merry Christmas!