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 xRaekon

The motion sensor output changes based on the x and z rotation of the camera. I want to make the output not changed based on camera and have it output as if it is facing 0 degrees. There is some pattern that is controlled by some logarithmic factor from each 90 degree change. I would like to know that "number" so I could create a logic system to convert these changes to behave as if facing 0 degrees.

I would like to make an interactive sword game that is controlled by the motion sensor. Yes I'm aware that there is are other methods I could attempt but I am stuck on the vision of using the motion sensor for the movement.

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