Hi guys. UE5 beginner here.
A bit of context: I’m attempting to develop a prototype of a rail shooter, which led me to create this little spline setup (see below).
In principle, an actor with a spline (the one with the floating arms, RS_CamRail) will be the stand for a “player character” (RS_PlayerRailModule). Wherever the camera stand moves on the spline, the “player character” follows. They’re two different actors–why? I believed that it would prevent the camera from rotating along the spline’s curvature. Or so I thought–leave me some feedback on that.
I’ve yet to implement things such as changing speed in the middle of the spline or anything, or having the camera rotate at certain points of the spline.
However, there’s an issue with the camera. Every time I switch to play mode, the camera starts twitching and jittering, even though it did what I told it to do (see clip below).
(2024 12 20 2024) UE5 rail shooter prototype: camera jittering issue
How do I prevent the camera from twitching unnecessarily? Is there a better way I could have coded this prototype? Thanks.