Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Is there a way to make a player to be able to run up a loop? Like a car?

Im trying to make a sonic esc ROBLOX game, and I have no idea how to make it so a player can go up a loop, like a car going at high speed. Is there anyway to do this without having to C-frame?[By the way i'm just starting to learn how to script so I don't know much about this, i'm about as far as learning about functions and making my own like onTouch()]

1 answer

✓ Accepted answer

This isn't a request site, but here is how I would imagine doing this:

  1. You wouldn't even need the regular walking if you intend on keeping it like the regular sonic games. Your character would move once per stud, so if you had a 10-stud length, your character would teleport 10 times (just a little) to move. The position would be calculated relative to the brick he/she's standing on, so if you made a loop out of regular bricks, this would work.

or

  1. Use some combination of BodyAngularVelocity, BodyForce, BodyGyro, BodyVelocity, BodyThrust, and/or BodyPosition. I'm not too familiar with these parts, but I know they could work. So I think one of those could push you downwards, and while going through the loop, the direction of force would be changed via a script.

or

  1. Like you said, CFrame.

or

  1. Going really fast won't work for character bodies (unless they are edited somehow) but things like cars and balls will.

or

  1. Contacting the guy who made this game (TigerClaus) might help: http://www.roblox.com/games/254364909/Smooth-Terrain-Planet

This discussion is preserved as it was. New answers, comments, and votes are closed.