marius...@gmail.com
unread,Jul 3, 2009, 12:20:04 PM7/3/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ode-users
Hi,
I'm currently working on a project to integrate a car model made in
ode, in Virtools. Virtools is a powerful engine for creating games,
that has it's own physics engine (with licence), but one can integrate
his own engine if he so desires.
When I run my car moder with DrawStuff everything works fine, the
care accelerates, I change gears etc. I use the same code and
integrate it in Virtools building blocks.Then I run a simulation
inside Virtools. I let the car drop from a high altitude to check that
everything is initialised correctly and it is. It falls down, it hits
the ground, I can even se the suspensions working. The I stear left
and right and it works. But when I try to accelerate it won't budge.
The wheeles just wont turn and I don't understand why. Keep in mind
that the same code is used in both simulation. Same weights, same
gravity, same dimensions, same everything.
Is there anyone who could know where the bug lies?
Like with DrawStuff, I recover the carbody's and wheels' positions
and rotation matrixes in order to move the 3D objects in Virtools. I
do not understand what could be happening.
Thanx for any ideas that you might have.