Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17825

ForkLift can't stand firm on the floor

$
0
0
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?

Viewing all articles
Browse latest Browse all 17825

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>