How can i replicate the movements from Motion Matching Sample?

Post your AO code.
FYI you need to use either Get Control Rotation or (preferably) Get Base Aim Rotation for literally anything that needs to replicate character/camera rotation.