SoftBody Bunny Car Demo
-
- Posts: 42
- Joined: Sun Aug 07, 2011 5:27 am
SoftBody Bunny Car Demo
Hello Everyone in The Bunny Car sample when the m or n key is pressed and held down the car pops a wheelie and spins out of control why dose this happen and how can this be fixed I tried Using applyForce on the Vehicle thinking it might apply some downward force to the Vehicle and stop the body from popping up in the air but this has no effect.
-
- Posts: 22
- Joined: Sat Nov 26, 2011 5:41 pm
Re: SoftBody Bunny Car Demo
If this is the demo with the bunny and 4 wheels running down some staircase, it is broken, the controls make the front and rear wheels turn against each otherXcoder79 wrote:Hello Everyone in The Bunny Car sample when the m or n key is pressed and held down the car pops a wheelie and spins out of control why dose this happen and how can this be fixed I tried Using applyForce on the Vehicle thinking it might apply some downward force to the Vehicle and stop the body from popping up in the air but this has no effect.

Easy fix I guess, I didn't look closer at the demo.
-
- Posts: 42
- Joined: Sun Aug 07, 2011 5:27 am
Re: SoftBody Bunny Car Demo
Thanks, for the reply monkeyman and this is the demo with the bunny going down the staircase. What you have mentioned. That was my first imppresion that the wheels were somehow rubbing against each other Makeing the vehicle unstable. But this is not the case What is Happening is when the Motorcontrol is applied to the wheels it makes the wheels rotate and the body rotate both at the same time. I tried adding the MotorControl to just one of the wheels and still the vehicle drives forward for awhile then it starts lifting the front end in the air and pops wheelie and keeps rotating till it falls on its roof. I used addForce on the Y axis thinking it might put enough pressure on the body to stop it from rotating this kind of makes it more stable but it still pops a whellie it just takes longer.
Thanks Everyone
Thanks Everyone
-
- Posts: 22
- Joined: Sat Nov 26, 2011 5:41 pm
Re: SoftBody Bunny Car Demo
Ok, because looking at the meshes in the wireframe-mode it sure looked as if the front and back wheels where counterrotating..Xcoder79 wrote:Thanks, for the reply monkeyman and this is the demo with the bunny going down the staircase. What you have mentioned. That was my first imppresion that the wheels were somehow rubbing against each other Makeing the vehicle unstable. But this is not the case What is Happening is when the Motorcontrol is applied to the wheels it makes the wheels rotate and the body rotate both at the same time. I tried adding the MotorControl to just one of the wheels and still the vehicle drives forward for awhile then it starts lifting the front end in the air and pops wheelie and keeps rotating till it falls on its roof. I used addForce on the Y axis thinking it might put enough pressure on the body to stop it from rotating this kind of makes it more stable but it still pops a whellie it just takes longer.
Thanks Everyone
Anyway, the behavior you describe is what one would expect if the vehicle frame was made of some super light material, maybe try increasing the mass significantly on the chassis?