Skip to main content

Report this content

We want the Dreams coMmunity to be a safe, diverse and tolerant place for everyone, no matter their age, gender, race, sexual orientation or otherwise. If you believe this content to contradict these principles, you can file a report for our coMmunity teams to investigate.

Note that misuse of the reporting tool will not be tolerated.

Item being reported:

A forum post by Spirit-X

Yeah I have found a couple of arctan chips but unfortunately they're not using very accurate algorithms yet. And for the moment at least, I want to build my own stuff as much as possible so that I learn how to do things better along the way.

Anyway, I have actually discovered a solution to my query now after figuring out the 'Scene Space Direction' data and my gatling gun now locks on with deadly accuracy down to the pixel! (Embarrassingly I was experiencing difficultly because of a schoolboy error while splitting and re-combining a load of data for wireless transmission ><).

I did try the angle sensor along the road to finding my solution but I couldn't quite fathom the readings it was giving me when I tried to equate them to the problem I was trying to solve. It seemed odd that there is actually an option to make the angle sensor 'relative' to another object, but doing so didn't seem to affect any of the outputs at all as they were still reporting standard 'world space' rotations. So couldn't get what I needed from it. At least not without setting up a couple of them a subtracting one set of readings from the other I guess, to get something local to my chopper's orientation.

Oh dear! Your browser is either unsupported or there has been a problem loading the page.