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: Floating up and down?

Previous Thread :: Next Thread 
GeneratedScript is online. GeneratedScript
Joined: 16 Jun 2017
Total Posts: 115
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
nofascistsaloudxD is not online. nofascistsaloudxD
Joined: 02 Sep 2015
Total Posts: 408
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
GeneratedScript is online. GeneratedScript
Joined: 16 Jun 2017
Total Posts: 115
23 Nov 2017 07:01 PM
bump


attempt to index "life" (a nil value)
Report Abuse
GeneratedScript is online. GeneratedScript
Joined: 16 Jun 2017
Total Posts: 115
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 is not online. 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
nofascistsaloudxD is not online. nofascistsaloudxD
Joined: 02 Sep 2015
Total Posts: 408
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 is not online. 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
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