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()]
✓ ANSWER ACCEPTED
Is there a way to make a player to be able to run up a loop? Like a car?
1 answer
✓ Accepted answer
This isn't a request site, but here is how I would imagine doing this:
- 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
- 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
- Like you said, CFrame.
or
- Going really fast won't work for character bodies (unless they are edited somehow) but things like cars and balls will.
or
- 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.
