Looking-Glass / JoyconLib

Joy-Con library for Unity.
MIT License
467 stars 91 forks source link

Mirror an axis of rotation? #9

Open dougemon opened 6 years ago

dougemon commented 6 years ago

Hi, Is it possible to mirror the way an object rotates when you rotate the joycon, i.e. make the cube roll right when you roll the joycon left? I find that when you look at the cube in the default scene from below, the motion of the joycon lines up just fine, but when you move the camera to be on the horizon with the cube, one of the axes are wrong. By the way I think this library is super cool! Thanks.

RaxoDev commented 2 years ago

I know this is very late but for anyone else looking for answers, multiplying the axis with -1 should do the trick