BodyPosition hover script not functioning properly

I currently have a hovercar that uses BodyPosition to stay afloat, however problems start to arise whenever the car is in contact with a ramp.
This is what I am trying to achieve:

bp
This is what happens when I approach the ramp at speed:


Here is the code I’m using:

hover.Position = rayy.Position+Vector3.new(0,4,0)

If I try using ray.Normal instead of Position, this is what I get:


The car uses a BodyGyro to orientate itself to the ground below.

Any help is appreciated

1 Like