How do you make the motion sensor output as if it's facing 0 degrees instead of being dependent on the camera rotation?
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.
-
The motion sensor outputs a world space signal based on screen space input (or your physical controller space really, which is facing the screen). Ideally you'd want a "motion sensor local" output (like the left/right stick local on tab 3), which would be a great feedback idea.
However, since that doesn't exist, I'm not sure what the alternative would be. I don't think a world to local space conversion would work in this case, given the screen to world space relationship.
I'm not really sure what you could do. I'd have to think on it a bit, though I think your best bet would be to rethink your logic to work with the output given. *Shrug*
Please sign in to leave a comment.