|
| 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 |
|
| |
|
| 03 Feb 2014 09:09 PM |
| Am I in the wrong place, or is there no difference? |
|
|
| Report Abuse |
|
|
| 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 |
|
|
| 03 Feb 2014 09:18 PM |
| That's a good idea. I should've checked the wiki before coming here, anyway |
|
|
| Report Abuse |
|
|
| 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 |
|