iBroski
|
  |
| Joined: 06 Jul 2011 |
| Total Posts: 100 |
|
|
| 21 Oct 2012 05:26 PM |
So I have a model of a starship that uses BodyPosition( to keep it at a certain height,) and Gyro( to maintain stability. I don't want to use BodyThrust to propel the ship because the speed wouldn't stay the same, rather it would slowly increase.
Does anyone know what I could do to make the speed stay constant?
Ty |
|
|
| Report Abuse |
|
|
iBroski
|
  |
| Joined: 06 Jul 2011 |
| Total Posts: 100 |
|
| |
|
RA2lover
|
  |
| Joined: 09 Nov 2008 |
| Total Posts: 1254 |
|
| |
|
|
| 21 Oct 2012 05:34 PM |
Script:
while true do wait() part.Velocity = Vector3.new(100,0,0) end |
|
|
| Report Abuse |
|
|
iBroski
|
  |
| Joined: 06 Jul 2011 |
| Total Posts: 100 |
|
|
| 21 Oct 2012 05:35 PM |
I thought about BodyVelocity, but I realized that the direction isn't exactly controllable. At least, I don't know how :/
I need the thrust to go in the direction the model is facing. |
|
|
| Report Abuse |
|
|
| |
|
RA2lover
|
  |
| Joined: 09 Nov 2008 |
| Total Posts: 1254 |
|
|
| 22 Oct 2012 10:59 AM |
| use lookvector to get the part's facing unit vector and multiply it by the velocity you want. |
|
|
| Report Abuse |
|
|