|
| 23 Nov 2017 06:56 PM |
If you've ever played "Dinosaur Simulator", you would know what I mean.
How can I make it so characters can fly up and down, or swim up and down, smoothly like in Dinosaur Simulator. Body Gyro? Body Thrust? Which Body Mover and how?
attempt to index "life" (a nil value) |
|
|
| Report Abuse |
|
|
|
| 23 Nov 2017 07:00 PM |
| There is a body mover called "BodyPosition" which will set the position that an object will attempt to stay at. When the player presses certain buttons, change the position property of the BodyPosition mover |
|
|
| Report Abuse |
|
|
|
| 23 Nov 2017 07:01 PM |
bump
attempt to index "life" (a nil value) |
|
|
| Report Abuse |
|
|
|
| 23 Nov 2017 07:02 PM |
Didn't read this when I posted the "bump" xd. Sorry
attempt to index "life" (a nil value) |
|
|
| Report Abuse |
|
|
Soybeen
|
  |
| Joined: 17 Feb 2010 |
| Total Posts: 21462 |
|
|
| 23 Nov 2017 07:39 PM |
BodyPosition is strange, it won't go towards the position you identify linearly, it'll try to line up on one axis first, which is hilarious.
I would use a combination of BodyVelocity and BodyGyro. Gyro for the orientation, Velocity for applying the force in the direction they wanna be
|
|
|
| Report Abuse |
|
|
|
| 23 Nov 2017 08:34 PM |
| I always thought body velocity where most useful for simple dampening the movement of object. I didn't know they could actually move objects. I thought moving objects was what BodyForce was for... |
|
|
| Report Abuse |
|
|
Soybeen
|
  |
| Joined: 17 Feb 2010 |
| Total Posts: 21462 |
|
|
| 25 Nov 2017 05:11 AM |
Read here for a very helpful detailing of all the BodyMover's roles: http://wiki.roblox.com/index.php?title=BodyMover |
|
|
| Report Abuse |
|
|