|
| 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 |
|
|
|
| 04 Apr 2013 03:17 AM |
| No, CFrame makes the elevator go through you. |
|
|
| Report Abuse |
|
|
|
| 04 Apr 2013 03:24 AM |
| Then what other method should I use? |
|
|
| Report Abuse |
|
|
Bloxyhead
|
  |
| Joined: 12 Oct 2009 |
| Total Posts: 52 |
|
|
| 04 Apr 2013 03:30 AM |
use a bodyforce instead... or maybe velocity idk |
|
|
| Report Abuse |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 04 Apr 2013 07:57 AM |
| You would also need BodyGyro so it doesn't spin in air |
|
|
| Report Abuse |
|
|