roblox donut flying gear

Okay, so I wanted to make a flying donut in Roblox. You know, because why not? I started by grabbing a regular donut model from the Toolbox. I figured it’d be easier than building one from scratch, and I was right – saved me a ton of time.

Making it Fly

First things first, I needed this donut to, well, fly. I added a BodyVelocity object inside the donut’s main part. This is basically what tells Roblox, “Hey, make this thing move!”.

Then came the tweaking. I played around with the BodyVelocity’s Velocity property. This controls the direction and speed of the donut. I set it to go upwards initially, just to see if it worked. And it did! My donut was floating!

Adding Some Control (and Spin!)

Just floating upwards was boring, though. I wanted to control this pastry! So, I wrote a little script. Nothing fancy, just some basic stuff to use the arrow keys.

  • Up Arrow: Made the donut go higher.
  • Down Arrow: Made it descend.
  • Left/Right Arrows: I decided to make it spin instead of moving sideways. More fun that way!

To make it spin, I used a BodyAngularVelocity object. Similar to BodyVelocity, but for rotation. I messed with the AngularVelocity property, linking it to the left and right arrow keys. One direction for clockwise, the other for counter-clockwise.

roblox donut flying gear

Sprinkles and Polish

The basic flying and spinning were working, but it felt…plain. I went back to the Toolbox and found some cool particle effects. You know, like sparkling sprinkles! I attached those to the donut, making it look way more magical.

Finally, I spent some time adjusting the speeds and forces. I wanted the donut to feel responsive but not too crazy. It took some trial and error, but eventually, I got it to a point where it felt just right. It was surprisingly satisfying to fly this thing around!

All the work is very interesting and worth sharing! Looking forward to my next share!

Leave a Reply

Your email address will not be published. Required fields are marked *