vengi icon indicating copy to clipboard operation
vengi copied to clipboard

VOXELFORMAT: support the long way rotation in the animation

Open mgerhardy opened this issue 2 years ago • 1 comments

Currently the quat lerp is taking the shortest way from src to dest. but the animation creator might have configured it to take the long way ImGuizmo doesn't support this atm

check negated quaternions for this - they are equivalent but interpolating between ones of different polarity takes the longer way

Bildschirmfoto von 2022-03-31 18-02-37

mgerhardy avatar Mar 31 '22 16:03 mgerhardy

VXA/VXR already has a property for this and SceneGraphKeyFrame contains a boolean for longRotation already.

mgerhardy avatar Mar 31 '22 16:03 mgerhardy