redhead
26-06-2008 15:57:00
Hi,
I tried to integrate OgreNewt to my project, I did everything like in demos, but it does nothing.
What I have to care about in setting up world?
I created world.
New mesh, mesh scene node, collision, body (set mass, that callback for gravity, moment of innertia, attached to node), and then in frame listener's frameStarted method caled mWorld->update()
In the first try, mesh moved, hower in very ugly way, and then suddenly stopped moving somewhere about y = 0 (i have no floor)
Second try, I created floor and more complex mesh. But it doesnt move, neither additional forces (like velocity) did nothing.
What am I doing wrong?
thanx
I tried to integrate OgreNewt to my project, I did everything like in demos, but it does nothing.
What I have to care about in setting up world?
I created world.
New mesh, mesh scene node, collision, body (set mass, that callback for gravity, moment of innertia, attached to node), and then in frame listener's frameStarted method caled mWorld->update()
In the first try, mesh moved, hower in very ugly way, and then suddenly stopped moving somewhere about y = 0 (i have no floor)
Second try, I created floor and more complex mesh. But it doesnt move, neither additional forces (like velocity) did nothing.
What am I doing wrong?
thanx