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: Change speed of a object.

Previous Thread :: Next Thread 
planesoldier is not online. planesoldier
Joined: 26 Sep 2010
Total Posts: 533
30 Aug 2014 09:31 AM
Hey There!

Is there a way to change the speed of a object thats flying around? I thought you could do that with BodyVelocity, but that only changes the gravity.

THX!
Planesoldier
Report Abuse
testdummy5000 is not online. testdummy5000
Joined: 04 Jun 2010
Total Posts: 818
30 Aug 2014 09:31 AM
BodyThrust?
Report Abuse
planesoldier is not online. planesoldier
Joined: 26 Sep 2010
Total Posts: 533
30 Aug 2014 09:38 AM
That doesn't change anything
Report Abuse
testdummy5000 is not online. testdummy5000
Joined: 04 Jun 2010
Total Posts: 818
30 Aug 2014 09:43 AM
Yes it does.
Report Abuse
planesoldier is not online. planesoldier
Joined: 26 Sep 2010
Total Posts: 533
30 Aug 2014 09:44 AM
Yes, to one direction instead of any direction.
Report Abuse
testdummy5000 is not online. testdummy5000
Joined: 04 Jun 2010
Total Posts: 818
30 Aug 2014 09:44 AM
Add BodyThrust to an object. Set the force property of it to 0,50000,0. This should make the object fly up very fast. Depending on the weight.
Report Abuse
planesoldier is not online. planesoldier
Joined: 26 Sep 2010
Total Posts: 533
30 Aug 2014 09:47 AM
I know, but thats the only thing it does. When i push it it slides on the ground, like any other brick. But i want it that when i push it it slides on the ground with a lot of speed instead of the 1 miles an hour...
Report Abuse
testdummy5000 is not online. testdummy5000
Joined: 04 Jun 2010
Total Posts: 818
30 Aug 2014 09:47 AM
game.Workspace.Part.BodyThrust.force = 0,50000,0
wait(1)
game.Workspace.Part.BodyThrust.force = 0,25000,0
wait(1)
game.Workspace.Part.BodyThrust.force = 0,10000,0
wait(1)
game.Workspace.Part.BodyThrust.force = 0,5000,0
wait(1)
game.Workspace.Part.BodyThrust.force = 0,0,0

This makes the part fly up, then gradually slow down till it stops.
Report Abuse
planesoldier is not online. planesoldier
Joined: 26 Sep 2010
Total Posts: 533
30 Aug 2014 09:48 AM
I dont want it to fly
Report Abuse
testdummy5000 is not online. testdummy5000
Joined: 04 Jun 2010
Total Posts: 818
30 Aug 2014 09:48 AM
Adjust the friction of it. OR, set the thrust to a way higher speed.
Report Abuse
planesoldier is not online. planesoldier
Joined: 26 Sep 2010
Total Posts: 533
30 Aug 2014 09:49 AM
I have Force and Location on 1000, 1000, 1000 and still no changes. Yes, the Bodyforce is in a brick
Report Abuse
testdummy5000 is not online. testdummy5000
Joined: 04 Jun 2010
Total Posts: 818
30 Aug 2014 09:50 AM
Don't mess with the location. And don't put the body force like 1000,1000,1000. No duh its not going anywhere, there is the same exact force applied to it at every anngle... Do this. game.Workspace.Part.BodyThrust.force = 5000000,0,0
Report Abuse
ARisings is not online. ARisings
Joined: 02 Feb 2014
Total Posts: 90
30 Aug 2014 09:56 AM
You have to add a humanoid to that part.

function()
FindFirstChild:("Humaniod")
local humanoid = h
if h then
game.Workspace.(NAME OF THE PART).Walkspeed = Write a number
end
Report Abuse
K7Q is not online. K7Q
Joined: 23 Mar 2013
Total Posts: 5546
30 Aug 2014 10:11 AM
@ARisings

Nope, he needs a Vector3.new or BodyVelocity.
Report Abuse
ARisings is not online. ARisings
Joined: 02 Feb 2014
Total Posts: 90
30 Aug 2014 12:38 PM
He said he can't work with that.
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