Drone Racing Simulator Current Build

Ive been working on a drone flying simulator with a friend called HazardFloodz04
“hes the modeler for the game” and i done the scripting but heres a current version of the game
made today the drone model used is not hazardfloodz04’s model i made that one before he knew about the game but this is a video of the movement

4 Likes

Movement seems WAY too rough and instant. You should try smoothing the movement out.

4 Likes

but how can i do that? tweening? or advanced cframe of were you release the key and it slows down smoothly

1 Like

Acceleration and velocity are your friends.

Basically, when a user presses a key to move in a direction, you set the acceleration.
Every frame, you take the acceleration and add it to the velocity (be sure to account for frame rate), and then take the velocity and add it to the position. Once this is done, multiply the velocity by some friction or slowing down force so that when you release the keys, it slows to a stop.

1 Like

well how can i do that with cframes?

There’s a bit of explaining to do, but I haven’t eaten at all today yet, so I’m just going to point you towards The Coding Train. He has a 2D version that uses the same principle in his ‘1.6: Vectors: Acceleration towards Mouse’ video that summarizes it pretty well, and he goes into depth in ‘2.2: Applying a Force’

1 Like

Huh? I’m doing similar thing in my free time, look:

2 Likes

wow its really simular its nice to see concepts like this

and i mean based of what you can do with the drone

1 Like

im going to remake the entire system with better physics “since the drone doesnt fall”
and make it so that velocity and speed works

1 Like

Smooth the movement outs, add camera angles, make the movement like actual drone with up and down being an option.