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: Need some help with Body Velocity please.

Previous Thread :: Next Thread 
OwningDutchMan is not online. OwningDutchMan
Joined: 23 May 2009
Total Posts: 7828
31 Jul 2011 08:47 AM
I am making a boat, and I want the Body Velocity velocity to be the max speed of the vehicle seat. but how do I do this?

script.Parent.BV.velocity = vector3.new(script.Parent.MaxSpeed,0, 0)?
Report Abuse
OwningDutchMan is not online. OwningDutchMan
Joined: 23 May 2009
Total Posts: 7828
31 Jul 2011 08:54 AM
help please :\
Report Abuse
jetta765214Epic is not online. jetta765214Epic
Joined: 23 Feb 2011
Total Posts: 228
31 Jul 2011 08:58 AM
Maybe some thing like this
script.Parent.BV.velocity = script.Parent.LookVector* script.Parent.MaxSpeed
Report Abuse
OwningDutchMan is not online. OwningDutchMan
Joined: 23 May 2009
Total Posts: 7828
31 Jul 2011 08:59 AM
What is lookvector?
Report Abuse
jetta765214Epic is not online. jetta765214Epic
Joined: 23 Feb 2011
Total Posts: 228
31 Jul 2011 09:03 AM
it is the way the brick is faceing.if you multiply it be a number then is goes that derection at the speed you multiply with. That is how guns on airplanes work.
Report Abuse
OwningDutchMan is not online. OwningDutchMan
Joined: 23 May 2009
Total Posts: 7828
31 Jul 2011 09:03 AM
Oh, so the lookvector must be the front, right?
Report Abuse
jetta765214Epic is not online. jetta765214Epic
Joined: 23 Feb 2011
Total Posts: 228
31 Jul 2011 09:13 AM
yes

oh sorry to use lookVector use CFrame.LookVector
Report Abuse
theburnboss is not online. theburnboss
Joined: 06 Jun 2007
Total Posts: 1510
31 Jul 2011 10:04 AM
Whats the diffrent from CFrame?
Report Abuse
Everseen is not online. Everseen
Joined: 29 Apr 2011
Total Posts: 475
01 Aug 2011 02:36 PM
LookVector isn't capital. script.Parent.BV.velocity = script.Parent.CFrame.lookVector* script.Parent.MaxSpeed
Report Abuse
Everseen is not online. Everseen
Joined: 29 Apr 2011
Total Posts: 475
01 Aug 2011 02:36 PM
LookVector isn't capital. script.Parent.BV.velocity = script.Parent.CFrame.lookVector* script.Parent.MaxSpeed
Report Abuse
Everseen is not online. Everseen
Joined: 29 Apr 2011
Total Posts: 475
01 Aug 2011 02:37 PM
Sorry. Doublepost.
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