• Runtimes
  • [XNA] How to rotate ZY axis

  • Đã chỉnh sửa
Related Discussions
...

Hi,
I need to render skeleton rotating it in ZY axes too, how I can do that with XNA runtime?
bets
Cristian

một tháng sau

Hi Harald,
ok that's what i needed to know.
So I just have to multiply the word identity with the rotation matrix in the SkeletonRenderer class
thank you
Cristian

eprime đã viết

So I just have to multiply the word identity with the rotation matrix

Multiplying identity with X can be reduced to simply assign X.

eprime đã viết

.. in the SkeletonRenderer class

I assume you did not mean "in" in the sense of modifying the SkeletonRenderer code. Instead you should just set the matrix from the outside.

Harald đã viết

I assume you did not mean "in" in the sense of modifying the SkeletonRenderer code. Instead you should just set the matrix from the outside.

Yes sorry, I'm wrong! effect.World outside SkeletonRender, when I do the draw 🙂

Perfect, just wanted to be sure to save you the potential trouble! 🙂

Harald đã viết

Perfect, just wanted to be sure to save you the potential trouble! 🙂

you did very well, I probably would have been wrong, thank you very much

No problem. 🙂