Download

Best approach for guided player/camera movement?

In my game the player will need to climb over objects and shimmy through tight spaces occasionally, and I don’t think normal WASD movement would be appropriate. I would like to handle these situations similar to The Vanashing of Ethan Carter, where there was essentially an “enter” interaction the player executes, and then they are autopiloted over/into what ever obstacle they were interacting with, with a custom keyframed animation.

Such as this example from Ethan Carter, where the camera is animated to step into this train engine over a few seconds (~7:55 into video)
[video]https://youtu.be/1lkv0DYTxCs?t=470[/video]

So basically I’m wondering how to do this. I’m not sure how to relinquish player movement controls and hand them over to a custom animated sequence, and then return to normal player movement. Could some one explain that to me in vague terms? I’m happy to research it in more depth on my own, I just need to be pointed in the right direction.

Thanks for your time =)

You will need to use root motion for that.