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
 

Re: Body Velocity, Force, Thrust

Previous Thread :: Next Thread 
BrainSqueezer is not online. BrainSqueezer
Joined: 19 Aug 2009
Total Posts: 432
03 Feb 2014 08:42 PM
What is the difference between body velocity, body force, and body thrust? Why are they each preferable for different situations?
Report Abuse
BrainSqueezer is not online. BrainSqueezer
Joined: 19 Aug 2009
Total Posts: 432
03 Feb 2014 08:57 PM
你好吗?
Report Abuse
BrainSqueezer is not online. BrainSqueezer
Joined: 19 Aug 2009
Total Posts: 432
03 Feb 2014 09:09 PM
Am I in the wrong place, or is there no difference?
Report Abuse
blahblah26 is not online. blahblah26
Joined: 02 Jan 2008
Total Posts: 141
03 Feb 2014 09:14 PM
Did you check the wiki?
Honestly, I don't really use Body Movement objects that much. The only scenario that I used them is for making a magnet power that attracts coins.
Report Abuse
BrainSqueezer is not online. BrainSqueezer
Joined: 19 Aug 2009
Total Posts: 432
03 Feb 2014 09:18 PM
That's a good idea. I should've checked the wiki before coming here, anyway
Report Abuse
BrainSqueezer is not online. BrainSqueezer
Joined: 19 Aug 2009
Total Posts: 432
03 Feb 2014 10:03 PM
Okay, here's what I've found out.

BodyForce lets you define how much FORCE is put on the object, hence the name. Force is like having an object pushed around, and I believe it increases exponentially (but don't quote me on that)
http://wiki.roblox.com/index.php?title=Bodyforce

BodyThrust allows you to not only define the force, but also what location you want the object to aim for. I messed around with it a bit, and I still have no clue how the two Vector3's coexist. If you typed in (100,0,0) for the location, then made the thrust (0,2000,0), it would only go straight up; it would make no effort to find its way to (100,0,0). I don't know how 'location' affects its velocity at all.
http://wiki.roblox.com/index.php?title=RBX.lua.BodyThrust_%28Object%29

BodyVelocity is like a combination of the two. However, there is no 'location' Vector3 like in BodyThrust, and there is an added maxForce limit. So, if you set the maxForce to (4000,4000,4000), set the 'power' to 2000, and set the velocity to (0,100,0), the object would shoot upwards, increasing force until it hit (0,4000,0).
http://wiki.roblox.com/index.php?title=RBX.lua.BodyVelocity_%28Object%29

I recommend playing around with these yourself if you're at all interested.
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