Always adjust the centreOfMass attribute of the rigid body of your vehicle AFTER you've attached the WheelCollider components. Otherwise, the centreOfMass attribute appears to be reset, resulting in much unstableness (unless your vehicle is particularly well designed).
Depending on your objective, you probably will get the best results if you set the centreOfMass to just below your wheel axles.
Subscribe to:
Post Comments (Atom)
Popular Posts
-
These are the robots I've been working on for the last 12 months. They each weigh about 11 tonnes and have a 17 meter reach. The control...
-
This hard-to-see screenshot is a Generic Node Graph Editing framework I'm building. I'm hoping it can be used for any kind of node...
-
Unfortunately I've not secured a venue for the GGJ. With 9 days left, things are not looking hopeful. It could be that GGJ Perth will no...
-
So, you've created a car prefab using WheelCollider components, and now you can apply a motorTorque to make the whole thing move along. ...
-
MiddleMan: A Pub/Sub and Request/Response server in Go. This is my first Go project. It is a rewrite of an existing Python server, based o...
-
Often, when building a game, you need to test if objects are colliding. The objects could be spaceships, rocks, mouse pointers, laser beams....
-
I've just read a newspaper article (courtesy of Kranzky ) from WA Business News documenting the malfeasance, gross negligence and misc...
-
After my last post, I decided to benchmark the scaling properties of Stackless, Kamaelia, Fibra using the same hackysack algorithm. Left axi...
-
I made something which lets you render very large worlds with a small farClipPlane. https://github.com/simonwittber/scaled-origin The d...
-
If you're using DontDestroyOnLoad to preserve a game object across levels, you might find that you get duplicated instances of that obje...
2 comments:
Does that help to avoid the effect where my car pops a wheelie every time I press the gas?
Haha no, that effect is caused by applying a constant motorTorque to the wheels. It should fall off as the speed gets higher, just like a real car.
The latest version solves these problems, I'll post a Web Player next week I expect.
Post a Comment