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: BodyVelocity.

Previous Thread :: Next Thread 
Fireboy835 is not online. Fireboy835
Joined: 21 Dec 2011
Total Posts: 589
15 May 2016 08:17 AM
so, i've put a bodyvelocity in with a script in a part to test out something; the bodyvelocitys' MaxForce is set to 4000000, 4000000, 4000000 and it doesn't seem to be going far or faster than the first settings. the script is very basic and i don't think anything is wrong with it but here it is anyway:

wait(5)
script.Parent.Anchored = false
wait(0.01)
script.Parent.BodyVelocity:Destroy()

zOMG A furry?
Report Abuse
Fireboy835 is not online. Fireboy835
Joined: 21 Dec 2011
Total Posts: 589
15 May 2016 08:28 AM
bump1!!!

zOMG A furry?
Report Abuse
Andyliu5000 is not online. Andyliu5000
Joined: 02 Nov 2013
Total Posts: 969
15 May 2016 08:53 AM
You need to change the "P" property of the BodyVelocity. This property constantly gives thrust to the part until the maxforce is reached. Problem with your script is that you haven't changed the "P" property and you've waited 5 seconds.

This means that when your part tries to accelerate to the maxspeed, it's force just get deleted without reaching the new limit and observes no change.
Report Abuse
Fireboy835 is not online. Fireboy835
Joined: 21 Dec 2011
Total Posts: 589
15 May 2016 09:39 AM
ok ty i figured it out before just forgot to reply.

zOMG A furry?
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