How to interpolate rotations?

后端 未结 4 1531
悲哀的现实
悲哀的现实 2021-02-14 15:29

I have two vectors describing rotations; a start rotation A and a target rotation B. How would I best go about interpolating A by a factor F to approach B?

Using a simpl

4条回答
  •  隐瞒了意图╮
    2021-02-14 16:09

    If you have decided to go with Quaternions (which will slerp very nicely), see my answer here on resources for implementing Quaternions: Rotating in OpenGL relative to the viewport

    You should find plenty of examples in the links in that post.

提交回复
热议问题