I’m planning to make a platformer game like Klonoa or Pandemonium. On these games, the player follow a path instead of moving back/forward on same axis. The camera follow the player giving the impression that you are moving just back and forward.
Does anyone know if there is some example code for achieving this?
Sometime ago, I was developing my own engine, and I achieved this using complex algorithms for managing catmul-rom splines. I was using a spline for character path and another one for camera path. It is working with a few bugs, but is working. Now I’m moving to UE4 'cause I can’t waste more time developing an engine that will take years to be as good as UE4. My engine was written all in c++ and manages a lot of graphics effects, basic physics, animations, etc, but nothing compared to UE4. Anyway, what I’m trying to say is, I’m new to UE4, but not that new to game programming.
Thanks for your time!