Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Gaussian Bell for Control Surfaces?

Asked by
vat21s 0
9 years ago

Hello, I would like to know how I can Get a Gaussian Bell in my Turning.

I have a variable called rotSpeed

    local rotSpeed = math.exp(100)*(-(((Drone.Fuselage.Velocity.Magnitude-60)^2)/(2*(40^2))))

The only part that needs to be kept is 'Drone.Fuselage.Velocity.Magnitude' Everything else was my attempt at the Gaussian Bell.

0
What exactly do you want to do [don't use the word Gaussian in it]? The Gaussian Bell curve is a distribution, what you're doing shouldn't require sampling. BlueTaslem 18071 — 9y
0
I've solved it, I wanted to get my steering bad at the start and meh and 100% throttle And great at the middle. The bell was a good representation of this. vat21s 0 — 9y

Answer this question