I’m trying to make a hovercar using Forces, however it does not have the behavior I want. I want it to be instantly floating a fixed amount above the ground after it lands, instead it gives off this spring/bouncy behavior like this:
How would I go about making it 100% stiff? I don’t want to use AlignPosition, just VectorForces.
Any help is appreciated.
If it’s a part, you will have to change the Elasticity. Elasticity is from a 0 to 1 scale where zero means absolutely no bounce and one means as bouncy as possible.
That is not what I meant. The part is floating and it never has contact with the ground. Besides I already have it set to Elasticity 0 and ElasticityWeight 100.
Nope, can’t use that for what I’m trying to do. I will be using AlignOrientation but I already tried AlignPosition and it just does not behave like I would want it to.
Then, I think you’ll need a PID controller. It’s very common in things like drones where they control the speed of the fans. In your case, you can control the force before it passes a certain threshold.
Good question! I haven’t learned it myself yet, but there’s a module on GitHub available and a good series on YouTube explaining how PID controllers work. Sorry, I can’t provide links right now as my Binge is messing up.