Zulsoras
|
  |
| Joined: 10 Sep 2008 |
| Total Posts: 963 |
|
|
| 14 Apr 2013 10:41 AM |
Difference = math.abs((SHIFT - FORWARD) / 100)
This is a variable that should be changing every time the while true do wait one loops since SHIFT and FORWARD are constantly changing but doesnt, any ideas why? it only changes the value once.
ex:
SHIFT = SHIFT + SHIFT_ADD FORWARD = FORWARD + FORWARD_ADD -- Calculate Turn SPEED = math.abs(FORWARD) + math.abs(SHIFT) Difference = math.abs((SHIFT - FORWARD) / 100) TURN = ((SPEED / MAX_SPEED) / 11.5)
-- ...
Ship.Turn.angularvelocity = Vector3.new(0,TURN - Difference,0) |
|
|
| Report Abuse |
|
|
Zulsoras
|
  |
| Joined: 10 Sep 2008 |
| Total Posts: 963 |
|
| |
|
Maradar
|
  |
| Joined: 06 Mar 2012 |
| Total Posts: 4478 |
|
|
| 14 Apr 2013 11:04 AM |
all caps is why. it should really be lowercase.
Website.Forums.Maradar.Signature = "trol" |
|
|
| Report Abuse |
|
|
Zulsoras
|
  |
| Joined: 10 Sep 2008 |
| Total Posts: 963 |
|
| |
|