generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: How should I go about scripting an elevator?

Previous Thread :: Next Thread 
Take_Under is not online. Take_Under
Joined: 05 Feb 2011
Total Posts: 5081
08 Apr 2017 10:44 AM
ye


Report Abuse
Atavis is not online. Atavis
Joined: 10 Apr 2012
Total Posts: 1463
08 Apr 2017 10:45 AM
I'd use part.Velocity directed by CFrame.lookVector and just have something that makes it look like it's moving. Else I guess you could have a part at the bottom that creates duplicates and slowly moves them up until they reach the top and they're destroyed.


122,381 slices of pizza and counting!
Report Abuse
Take_Under is not online. Take_Under
Joined: 05 Feb 2011
Total Posts: 5081
08 Apr 2017 10:50 AM
Hm perhaps I should hire someone.


Report Abuse
dudefun1234 is not online. dudefun1234
Joined: 21 Jul 2013
Total Posts: 3038
08 Apr 2017 11:11 AM
An easy elevator will just teleport you and have a small delay as if your inside traveling.

A REAL elevator, if you want to make a glass elevator or something that looks over a landscape, can be extremely buggy unless you perfect the physics just right. In a large server the player may actually look like he is constantly falling through the elevator floor and then popping up.


Report Abuse
dudefun1234 is not online. dudefun1234
Joined: 21 Jul 2013
Total Posts: 3038
08 Apr 2017 11:13 AM
"I'd use part.Velocity directed by CFrame.lookVector"


That is the biggest no no in roblox physics.


Use bodymovers for smooth, but sometimes laggy, transitions. Part velocity is the bane of game speed and is extremely inefficient.
Report Abuse
Atavis is not online. Atavis
Joined: 10 Apr 2012
Total Posts: 1463
08 Apr 2017 11:14 AM
urgh sorry that's like the fourth time that's caught me out. I'm English and we call it a Lift. I wasn't explaining an Elevator in my first reply. I was describing an Escalator


122,222 slices of pizza and counting!
Report Abuse
Atavis is not online. Atavis
Joined: 10 Apr 2012
Total Posts: 1463
08 Apr 2017 11:14 AM
Oh is it D: They should really remove it xD

Thanks.


122,227 slices of pizza and counting!
Report Abuse
Valenthian is not online. Valenthian
Joined: 01 Oct 2013
Total Posts: 590
08 Apr 2017 11:26 AM
https://www.roblox.com/library/235871221/Eden-Elevator
Report Abuse
JetUpNy is online. JetUpNy
Joined: 18 Feb 2016
Total Posts: 258
08 Apr 2017 11:40 AM
I've used bodyPosition on an elevator. There is a tutorial on Roblox youTube for moving platforms, I've also used bodyForce to move an elevator up and down.
Report Abuse
Nuclear_Energy is online. Nuclear_Energy
Joined: 21 Jul 2013
Total Posts: 1380
08 Apr 2017 11:47 AM
Linear Interpolation Loop will work...



Report Abuse
dudefun1234 is not online. dudefun1234
Joined: 21 Jul 2013
Total Posts: 3038
08 Apr 2017 11:52 AM
^ Best method.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image