Category | Farming Simulator 2009 |
Created | 12.08.2009 19:44 |
Markus Uphoff (Unknown) | 12.08.2009 19:46 |
---|---|
i would like to script a digital compass in ls09 but dont know what functions i will need getrotation or other please help me sorry for bad english |
Markus Uphoff (Unknown) | 14.08.2009 11:15 |
---|---|
it works but not in degree it starts at -1.xxx and ends at 1.XXX how to translate it into degree? local x,y,z = getWorldRotation(self."object") renderText(0.4,0.5,0.03,string.format("rot: %f ",y)); |
Heady Planet-ls (Headshot XXL) | 14.08.2009 13:00 |
---|---|
the function rad to grad is: math.deg( ) renderText(0.4,0.5,0.03,string.format("rot: %f ", math.deg(y))); |
Markus Uphoff (Unknown) | 14.08.2009 13:44 |
---|---|
thanks a lot Headshot but now it shows from -90 to 90 and then again to -90 when i do a 360 degree turn |
Note: Log in to post. Create a new account here.