![]() |
Vehicle script
currently working on a vehicle script that will be able to move in any direction, using cosine and sine.
I have a little something made up, but it turns strange. I'm not sure how to change this, or what I'm doing wrong. I've never played with cos and sin x_x PHP Code:
|
You have your degtorad() in the wrong place. It returns a number, and you aren't putting that number anywhere. You need to make degtorad() actually change this.angle, without just reading it.
|
oh so this.angle=degtorad(this.angle) would work? I'll try that
|
| All times are GMT +2. The time now is 02:08 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.