I dont know if this ever happened to you - or if its only me who is too dumb to do some calculations...
im having a car you can drive with WASD keys. Everything works fine (accelerate, break, turn), camera is always looking forward ... but the car model doesnt turn.
If i replace the formula used to calculate the turning rate of the car with a fixed value (5.0 in pic) the car model is turned correctly.
I had some similar issues before. Does anyone know what i might have done wrong?
From my experience, when it comes to angles and such, negative angles and rarely multiple of angles will appear in my code. And i seem to remember something needing Radians and not Degrees but i dont think thats for you.
Minor detail: I'm pretty sure that triggers only run every 1/16th of a second, so your time value of 0.04 seconds won't actually occur that often, it will occur every 1/16th of a second (0.0625 seconds).
I dont know if this ever happened to you - or if its only me who is too dumb to do some calculations...
im having a car you can drive with WASD keys. Everything works fine (accelerate, break, turn), camera is always looking forward ... but the car model doesnt turn. If i replace the formula used to calculate the turning rate of the car with a fixed value (5.0 in pic) the car model is turned correctly.
I had some similar issues before. Does anyone know what i might have done wrong?
Debug using outputs.
From my experience, when it comes to angles and such, negative angles and rarely multiple of angles will appear in my code. And i seem to remember something needing Radians and not Degrees but i dont think thats for you.
@DemoniacMilk: Go
Minor detail: I'm pretty sure that triggers only run every 1/16th of a second, so your time value of 0.04 seconds won't actually occur that often, it will occur every 1/16th of a second (0.0625 seconds).
Additionally, you may find this interesting/useful: http://www.sc2mapster.com/forums/general/general-chat/57205-star-karts/
It's a WASD hellion setup that I made. It's a fair bit more complex and it's done in Galaxy. You're welcome to use it or just learn from it.
Nvm, was wrong
Dunno why, but turning works now.
Lol thats pretty much what i have done so far (but with triggers). Id guess your solution has a smaller delay?
But i have never used Galaxy Script, so ill try and stick to my solution for now , thanks for help ;)