[DiscordArchive] Anyone know the forumla to convert a Unity animation frame to WoW Animation frame?
[DiscordArchive] Anyone know the forumla to convert a Unity animation frame to WoW Animation frame?
Archived author: Needle • Posted: 2024-11-09T20:02:06.532000+00:00
Original source
Anyone know the forumla to convert a Unity mod...
Archived author: Needle • Posted: 2024-11-09T20:02:25.897000+00:00
Original source
Anyone know the forumla to convert a Unity animation frame to WoW Animation frame?
Archived author: Xahnder • Posted: 2024-11-09T21:08:56.132000+00:00
Original source
Update in case anyone looks for this. The problem turns out to be interpolation related. Vid related is what happens when the rotation interpolation is set to "None". It seems that, for whatever reason, the Linear intepolation is taking 'the long way' on the rotation for some frames. So, the solution looks to be to figure out if a rotation direction would be shorter, and modify the frames of animation to account for it (negative vs positive).
2024-11-09_15-06-16.mp4
Archived author: Xahnder • Posted: 2024-11-09T23:05:52.918000+00:00
Original source
And in case anyone ever has this extremely esoteric problem... the solution was to calculate the shortest rotation path. I did that by...
1. Normalized the quaternion
2. Performed SLERP against it and the identity quaternion, and a full amount (1.0f)
3. Save that over the rotation frames
Result is what you see here.
2024-11-09_17-02-28.mp4
Archived author: Needle • Posted: 2024-11-14T14:18:18.101000+00:00
Original source
Thread was archived by Xahnder. Anyone can send a message to unarchive it.