Movement Direction Issues in Multiplayer Physics (Prop Rotation Problem)


I’m working on a multiplayer game where the client moves a physics-enabled mesh (PropCha). The problem is that the movement direction doesn’t align with the controller or camera rotation. Instead, it seems fixed to the world’s cardinal directions (e.g., pressing W always moves south regardless of camera rotation).

Current Setup:

  1. PlayerController:
  • Calculates forces using Get Control Rotation → Get Forward/Right Vector.
  • Applies Add Force to the mesh.
  1. PropCha:
  • Does not update its rotation to match the controller or camera.

The Problem:

  • Movement direction doesn’t depend on the controller rotation or camera direction.
  • Pressing W/S/A/D results in movement based on world space directions.

What I Tried:

  1. Updating the mesh’s rotation using Set World Rotation based on the controller’s Yaw.
  2. Calculating movement forces based on the controller’s Get Forward Vector and Get Right Vector.

Request:

How can I ensure that movement direction is properly aligned with the controller/camera rotation in a multiplayer physics setup?


This is my character blueprint forgot to mention,sorry.