1 line
No EOL
289 B
JavaScript
1 line
No EOL
289 B
JavaScript
(function() { this.enterEntity = function() { MyAvatar.orientation = Quat.multiply(Quat.cancelOutRollAndPitch(MyAvatar.orientation), Quat.fromPitchYawRollDegrees(0, 0, 180)); }; this.leaveEntity = function() {MyAvatar.orientation = Quat.cancelOutRollAndPitch(MyAvatar.orientation); }; }) |