3 ms·
Is there no way to get the direction vector of the ship? You have rotation in radians, but no way to convert that.. not even cos/sin to roll it yourself. Am I m
by james4k 14y ago
Is there no way to get the direction vector of the ship? You have rotation in radians, but no way to convert that.. not even cos/sin to roll it yourself. Am I missing something?
- teraflop 14y agoIt's just Javascript, so you should have all the usual array of built-in functions. https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Math https://developer.mozilla.org/en-US/docs/JavaScript/Referenc...
- james4k 14y agoHmm, I thought I tried using a Math function without success, but I must have done something wrong. Thanks for steering me off the wrong path.