jams
19-07-2007 22:53:40
Hi
I'm totally new to NxOgre and PhysX which seems to be great as everythings betajean does ! Though I have some questions :
1) I have a scene imported from oFusion, so I'd like to add physics to some of my entities. I first thought I had to use Actors instead of bodies, but I can't get it work . So I create a body, with no mesh and use setNode method. It seems to work at first sight ... But I wonder if it's right and if there's not a better way to do it ?? Using setEntity for exemple !
2) When I set no floor and no gravity, my nodes are moving and rotating away ?? I wonder why ?
3) If I set no framelistener I can get it works but I wonder why I have to call render() method in addition to simulate() ??
Thanks for helping !
I'm totally new to NxOgre and PhysX which seems to be great as everythings betajean does ! Though I have some questions :
1) I have a scene imported from oFusion, so I'd like to add physics to some of my entities. I first thought I had to use Actors instead of bodies, but I can't get it work . So I create a body, with no mesh and use setNode method. It seems to work at first sight ... But I wonder if it's right and if there's not a better way to do it ?? Using setEntity for exemple !
2) When I set no floor and no gravity, my nodes are moving and rotating away ?? I wonder why ?
3) If I set no framelistener I can get it works but I wonder why I have to call render() method in addition to simulate() ??
Thanks for helping !