Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2014-07-19 16:58:07

DeadBeef
Member
Registered: 2014-06-21
Posts: 12

mirror/rotate quaternion?

Hi everyone!

im working on a game. and i've stumbled upon kind of a strange bug. i have an object in space, and a camera that's supposed to be following it. positioning and all goes well. but the rotation is pointing the exact wrong way, so i need a way to turn it around 180 degrees on either its (local) x or y axis, but not on its z axis(which would turn the camera upside down). i really dont know this kind of math well, so i apologize in advance for being a bit unclear, if there are any questions i'll happily answer them

Last edited by DeadBeef (2014-07-19 17:00:48)

Offline

Board footer

Powered by FluxBB