Hello everyone, I have what I assume is a bit of a weird question since I haven’t been able to find any topics that have covered my issue.
So I am a student trying to make a rhythm platformer akin to the game Mad Rat Dead for a final in my class. I got most of the core character system working right by following tutorials from Cobra Code. For the rhythm aspect, I followed a tutorial I found on YouTube (https://www.youtube.com/watch?v=F0PFHXUfa2Y)
I opted to attach the spline I made for the rhythm system onto the character pawn’s spring arm. This way it would always track with the camera since it’s not a static camera game. The only issue I am having now is that whenever my character jumps or falls, the spawned note actor (sphere static mesh) moves off the spline. I couldn’t quite figure out how to make the rhythm aspect with UMG as I haven’t delved into there far enough (my teacher recommended I could do this to kind of help with the issue, but with the time frame it would be a lot of work).
Imgur: The magic of the Internet - GIF of the issue in question.
My teacher and I tried to figure it out quickly, but didn’t really have enough time to really sit down and mull it over. He tried testing out multiple nodes to swap out for the ‘get location at distance along spline’ function, but nothing really worked.
He said the issue was related to the fact that the Spline was set to the world location for the coordinate space, and because of this the spawner was causing a sort of desync like issue, but me not being the most code heavy person yet couldn’t fully understand the issue.
Everything spawns and interacts fine, it’s purely just this issue. It’s not a dealbreaker on the project, but I was just wondering if anyone had a possible solution to the issue.
Thank you to anyone that replies with any helpful information.