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: BodyForce Question...

Previous Thread :: Next Thread 
Adminisitrator is not online. Adminisitrator
Joined: 04 Oct 2012
Total Posts: 494
04 Sep 2016 04:57 PM
After I resolved my countdown script, I just noticed that the physics with BodyForce are unrealistic, simply because that a third of the time during launch it tilts, and the rocket just moves up no matter which angle it's at...

So here is my question, how do I make it so that [x]Force applies force to which ever angle it's on, for example if the rocket tilts, it should become unstable and crash, not just fly upwards anyway...?

Thanks for reading, and hopefully you don't just view this.


17k+ R$ RAP and counting... | R.I.P. THEMENDEZKID 2011 - 2016
Report Abuse
AggressiveCatch is not online. AggressiveCatch
Joined: 17 Jul 2011
Total Posts: 5840
04 Sep 2016 04:58 PM
make a part that faces up and use it's lookvector to set bodyforce
Report Abuse
Adminisitrator is not online. Adminisitrator
Joined: 04 Oct 2012
Total Posts: 494
04 Sep 2016 05:02 PM
"make a part that faces up and use it's lookvector to set bodyforce"

I didn't mention this before, but I don't know as much about scripting as others do on this sub-forum... if you can just simplify that please?


17k+ R$ RAP and counting... | R.I.P. THEMENDEZKID 2011 - 2016
Report Abuse
Adminisitrator is not online. Adminisitrator
Joined: 04 Oct 2012
Total Posts: 494
04 Sep 2016 05:06 PM
bump


17k+ R$ RAP and counting... | R.I.P. THEMENDEZKID 2011 - 2016
Report Abuse
Adminisitrator is not online. Adminisitrator
Joined: 04 Oct 2012
Total Posts: 494
04 Sep 2016 05:15 PM
bump; tried experimenting with lookVector and obviously I'm not doing this right...

script.Parent.launch:Play()
local fire = Instance.new('Fire', script.Parent)
script.Parent.Fire.Size = 25
script.Parent.BodyForce.Force = script.Parent.CFrame.lookVector * 25000
script.Parent.midair:Play()

The rocket does not move at all, and looking at the Force of BodyForce, it reads "0, -0, -25000"...


17k+ R$ RAP and counting... | R.I.P. THEMENDEZKID 2011 - 2016
Report Abuse
Nuclear_Energy is not online. Nuclear_Energy
Joined: 21 Jul 2013
Total Posts: 1380
04 Sep 2016 05:22 PM
#### ## #### dat ur body force is too large to count
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
04 Sep 2016 05:23 PM
Or simply use a BodyThrust instead. Those are based on direction.


Report Abuse
Adminisitrator is not online. Adminisitrator
Joined: 04 Oct 2012
Total Posts: 494
04 Sep 2016 05:26 PM
"Or simply use a BodyThrust instead. Those are based on direction."

Thank you!


17k+ R$ RAP and counting... | R.I.P. THEMENDEZKID 2011 - 2016
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