24
$\begingroup$

Steps:

  • I created two identical objects, and animated them to rotate 360 degrees.
  • I used euler for the first object and quaternion for the second.
  • In the Viewport they rotate the same, but in the Game engine the second object is rotated differently.

What's wrong with quaternion rotation in the Game engine?

blendfile

enter image description here enter image description here

$\endgroup$
8
  • $\begingroup$ Link to .blend seems to be broken. $\endgroup$
    – gandalf3
    Jul 31, 2013 at 21:48
  • 4
    $\begingroup$ Try CTRL-A > Apply rotation $\endgroup$
    – CharlesL
    Aug 5, 2013 at 16:17
  • 1
    $\begingroup$ It depends on how you animated them, and it's difficult to tell with the broken .blend file. Euler angles and quaternion angles have different parameterizations, and I'm pretty sure however you're animating the rotation doesn't account for the difference: en.wikipedia.org/wiki/… $\endgroup$ Oct 29, 2013 at 18:05
  • 3
    $\begingroup$ @OrelGenya can you reproduce this in a new blend file? If so, please report a bug . $\endgroup$
    – brita_
    Jun 17, 2014 at 8:45
  • 3
    $\begingroup$ This issue seems to be an unsupported feature at the moment. Can someone mark this question as answered. Brita wrote: @gandalf3 I took a quick look, BGE indeed only supports the default euler rotations. The animation curves in BGE are Moguri's area, he is already assigned to that last bug.. so – brita_ Oct 2 '14 at 8:00 $\endgroup$
    – hawkenfox
    Dec 26, 2015 at 3:10

1 Answer 1

1
$\begingroup$

From Hawkenfox:

"This issue seems to be an unsupported feature at the moment. Can someone mark this question as answered?"

(Okay - I am posting this answer, pasted from your comment, for the purpose of marking this as an answer and closing the question. Please mark as answered.)

Brita wrote: "@gandalf3 I took a quick look, BGE indeed only supports the default euler rotations. The animation curves in BGE are Moguri's area, he is already assigned to that last bug.. so" – brita_ Oct 2 '14 at 8:00 – hawkenfox Dec 26 '15 at 3:10

BTW, was this resolved?

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .