Jump to content
  • Advertisement
Sign in to follow this  

Bullet ForkLift can't stand firm on the floor

Recommended Posts

The forklift just slides across the floor.
You may ask, hey, the wheels are frictionless, if I apply a friction of 1000.0f, the forklift just bounces to the air? If I apply 1.0, the forklift still slips around...
Also, I have to apply a very large engine force in order to move the forklift, such as 100000.0 kg

The chassis is 200kg, upper mask is 70kg, lower mask is 60kg, front wheels are 50kg and rear wheels are 50kg
I just stuff them up.

float maxEngineForce = 1000.f;//this should be engine/velocity dependent
float maxBreakingForce = 100.f;

float gVehicleSteering = 0.f;
float steeringIncrement = 0.04f;
float steeringClamp = 0.3f;
//float wheelFriction = 10.0f; //1000;//BT_LARGE_FLOAT;
float wheelFriction = 0.0f;
float suspensionStiffness = 20.f;
float suspensionDamping = 2.3f;
float suspensionCompression = 4.4f;
float rollInfluence = 0.1f;//1.0f;

any ideas? Edited by lucky6969b

Share this post

Link to post
Share on other sites

I get the idea you built it from multiple components with constraints. I remember an user from the forums here who worked on vehicle simulation stating they run the vehicles at 200hz. Have you tried bumping up the iterations? Does it change anything?

Share this post

Link to post
Share on other sites

If I change the friction value to 10000.0f and I don't apply any engine force and braking force at all.
And the agent is totally driven by the AI....then the floor still looks very slippery, after the agent is stabilized,
the agent is able to be moved by the AI?

Share this post

Link to post
Share on other sites

I was wondering why the forklift was playing somersaults in the air, now I found out that I was messing up the wheel radius with the wheel width of the forklift...


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!