|
| 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 |
|
|
| |
|
|
| 31 Jul 2011 08:58 AM |
Maybe some thing like this script.Parent.BV.velocity = script.Parent.LookVector* script.Parent.MaxSpeed |
|
|
| Report Abuse |
|
|
| |
|
|
| 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 |
|
|
|
| 31 Jul 2011 09:03 AM |
Oh, so the lookvector must be the front, right?
|
|
|
| Report Abuse |
|
|
|
| 31 Jul 2011 09:13 AM |
yes
oh sorry to use lookVector use CFrame.LookVector |
|
|
| Report Abuse |
|
|
|
| 31 Jul 2011 10:04 AM |
| Whats the diffrent from CFrame? |
|
|
| Report Abuse |
|
|
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
|
  |
| 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
|
  |
| Joined: 29 Apr 2011 |
| Total Posts: 475 |
|
| |
|