Glad to! I’ll have to look into new ways to incorporate slate tweens for Mac’s sake. Odd that it works on iOS but not Mac.
Hey Fitz, orientation = path will always have the object’s forward vector look down the path. In UE4, the forward vector is X. Most 3D packages use Y or Z for forward. As such, you have to make for fish’s face look down the forward X Vector. You can do this in a number of different ways.
-Rotate your fish in Maya so that its entire system faces down X+
-Rotate your fish’s skeletal mesh component in its blueprint to have it face down X+
-On Tween Update, set actor rotation on the fish to be itself + a yaw offset. This will be called after the tween’s logic every frame so it should look just fine.
-Have a second object that follows the spline a little earlier than the fish and orient to target rather than path (this idea is stupid don’t do it)
-Wait for the next major version of iTween which will have options for position and rotation offsets
1 or 2 should do it, but 3 is a good backup plan. I don’t even know why I typed 4. I guess for completeness. 5 will work great if I do say so myself, but it could be a while. Bugfixes take priority with iTween, and there’s a lot going on in my personal life and professional life right now
Thanks a lot for this answer,
The two first points are messing up the influence points and thus the animation, that would need us to rig again the fish which would definitely work but would take more time.
I’ll try the 3rd solution then ! Keep us updated regarding the last one