How to interpolate rotations?

后端 未结 4 2151
长发绾君心
长发绾君心 2021-02-14 15:44

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:33

    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.

提交回复
热议问题