Hi, all.
There is an object which is controlled with applyCentralForce.
All parameters like setFriction, setRollingFriction, setRestitution, setDamping are defined by default (thus, I changed nothing).
Except for setAngularFactor, I setted up it like vec(0, 0, 0);
My problem is when I want to turn the moving object, I'm facing with skid. It looks like a car skid.
Is it possible to add drag force or minimize skid?
Or is there another way to compensate for centrifugal force?
Please, guys, advice me how I can avoid this trouble. Thanks.
Drag force, skid
-
- Posts: 463
- Joined: Fri Nov 30, 2012 4:50 am
Re: Drag force, skid
Both things you're talking about come down to friction, so perhaps you'll need to enable anisotropic friction. Drag can also just be modeled as a linear damping on velocity in the direction the car is going, but you'll need to be careful about implementation or else you might get bunny hopping exploits.
-
- Posts: 15
- Joined: Thu Feb 26, 2015 7:04 am
Re: Drag force, skid
Frankly speaking,
1) I haven't managed to setup right params for:
2) As for the method which will compensate for centrifugal force. I did my best, but there was no result.
Maybe you can help me to implement neither 1) or 2). Thanks.
1) I haven't managed to setup right params for:
Code: Select all
setFriction ,setRollingFriction, setAnisotropicFriction
Maybe you can help me to implement neither 1) or 2). Thanks.