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 » Scripting Helpers
Home Search
 

Moving platform while standing on it?

Previous Thread :: Next Thread 
NeoEclipse is not online. NeoEclipse
Joined: 09 Apr 2012
Total Posts: 5407
04 Apr 2013 03:10 AM
The Elevator in my place uses CFrame to get to each floor.

Sometimes, when going upward. My players legs will go into the ground slightly, but then pop back up often. Would cloning the floor of the elevator once or twice fix this issue?
*Note the floor has a weld on it.
Report Abuse
ElectricAxel is not online. ElectricAxel
Joined: 15 May 2009
Total Posts: 16239
04 Apr 2013 03:17 AM
No, CFrame makes the elevator go through you.
Report Abuse
NeoEclipse is not online. NeoEclipse
Joined: 09 Apr 2012
Total Posts: 5407
04 Apr 2013 03:24 AM
Then what other method should I use?
Report Abuse
Bloxyhead is not online. Bloxyhead
Joined: 12 Oct 2009
Total Posts: 52
04 Apr 2013 03:30 AM
use a bodyforce instead... or maybe velocity
idk
Report Abuse
ElectricAxel is not online. ElectricAxel
Joined: 15 May 2009
Total Posts: 16239
04 Apr 2013 03:49 AM
BodyVelocity would be the best, and use a BodyPosition to Lock it so it only moves in the Y axis.
Report Abuse
zars15 is not online. zars15
Joined: 10 Nov 2008
Total Posts: 9999
04 Apr 2013 03:53 AM
I don't like how bodyPosition acelerates, so I'd go with bodyVelocity.
Report Abuse
NeoEclipse is not online. NeoEclipse
Joined: 09 Apr 2012
Total Posts: 5407
04 Apr 2013 04:13 AM
Could any of you give me an Idea on how to work it then? Like.. where to start.
Report Abuse
zars15 is not online. zars15
Joined: 10 Nov 2008
Total Posts: 9999
04 Apr 2013 04:15 AM
Make elevator brick and add points for each floor, so you can easily find height for each floor, then simply change body position to it.
Report Abuse
ElectricAxel is not online. ElectricAxel
Joined: 15 May 2009
Total Posts: 16239
04 Apr 2013 04:34 AM
The BodyPosition is not to move it up and down, its to make sure it doesn't move sideways, its another thing you can use BodyPosition for.
Report Abuse
zars15 is not online. zars15
Joined: 10 Nov 2008
Total Posts: 9999
04 Apr 2013 05:00 AM
You could use bodyVelocity, to prevent moving. It would do better than bodyPosition.
Report Abuse
ProjectYeager is not online. ProjectYeager
Joined: 30 Mar 2013
Total Posts: 70
04 Apr 2013 07:57 AM
You would also need BodyGyro so it doesn't spin in air
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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