Wheel rotation questions

RJNelson68
Posts: 73
Joined: Tue Oct 06, 2009 3:19 pm

Wheel rotation questions

Post by RJNelson68 »

Hi I wanted to see if anyone had answers to three questions.

1. I have noticed when calculating a wheel's angular velocity using m_deltaRotation/timestep that I often see sporatic bursts of rotation and I also see regular rotational direction changes as in a wheel rotating as if travel backwards when the vehicles is actually travelling forwards. Can someone explain why?

2. Why do the wheels only rotate when they are in contact with a surface? You would think realistically when a vehicle is not touching a surface the powered wheels would still rotate if engine torque were applied.

3. Why do the vehicle tires only rotate when I am applying engine torque? I noticed that in most of my tests the wheels remain stationonary even though the vehicle is moving due to being puished or rolling down a hill.
RJNelson68
Posts: 73
Joined: Tue Oct 06, 2009 3:19 pm

Re: Wheel rotation questions

Post by RJNelson68 »

OK I have answers to all of these. I am hoping someone can expand on or has done some work in the last two.

1. Was in my conversion from Bullet to the Torque Game Engine. m_rotation was more than enough to meet my needs.

2. The wheels in Bullet really do only apply rotation when making surface contact. Otherwise they stop. The other part is that they do not take into account kinetic rotation or rotational friction.

3. The reason I was seeing no rotation based upon engine torque when the wheels were not in contact with a surface is in part due to #2, but is also because the rotation is only created by determining wheel direction and velocity and not taking into account engine torque in those calculations or transmission and differential drag when torque is not applied.

Has anyone done this already, and if so, do you have a few pointers you wouldn't mind sharing?