Hi,
I am experiencing an issue with the raycast vehicle, which happens when I link several vehicles together.
In the video (http://g.jaegy.free.fr/_divers/wheels.divx), I have linked 3 vehicles together, this seems to work.
However, the trailer wheels are constantly rotating, while the vehicle is not moving...
Any idea how I could fix this issue ?
Thanks!
Greg
wheels rotating while vehicle is not moving ?
-
gjaegy
- Posts: 178
- Joined: Fri Apr 18, 2008 2:20 pm
-
gjaegy
- Posts: 178
- Joined: Fri Apr 18, 2008 2:20 pm
Re: wheels rotating while vehicle is not moving ?
nobody encounters the same issue ?
-
razer
- Posts: 82
- Joined: Sun Apr 04, 2010 10:08 pm
Re: wheels rotating while vehicle is not moving ?
Do you have call ?
Do you apply force to those wheels? It is not natural if you apply force to them
Code: Select all
dynamicWorld->addVehicleDo you apply force to those wheels? It is not natural if you apply force to them
-
gjaegy
- Posts: 178
- Joined: Fri Apr 18, 2008 2:20 pm
Re: wheels rotating while vehicle is not moving ?
yes, I have an addVehicle() call (I use the btRaycaseVehicle).
And I don't add any force myself to the trailer wheels, actually I don't apply any force to the trailer vehicle myself at all...
And I don't add any force myself to the trailer wheels, actually I don't apply any force to the trailer vehicle myself at all...
-
dakffyd
- Posts: 13
- Joined: Wed Jan 20, 2010 1:35 am
Re: wheels rotating while vehicle is not moving ?
check that your axis are right (for wheel direction, axle, etc)?
i also had a similar error for a while when i was accidentally adding a vehicle twice, so all wheel rotations were applied twice.
i also had a similar error for a while when i was accidentally adding a vehicle twice, so all wheel rotations were applied twice.