playMaker

Author Topic: Controller move + rigidbody move forward?  (Read 541 times)

IIKII

  • Full Member
  • ***
  • Posts: 137
  • Lonely developer
    • Patreon
Controller move + rigidbody move forward?
« on: May 28, 2021, 11:49:12 PM »
Hi, I am using controller move + rigidbody to move in my 3rd person platformer game. I am trying to make my character move forward automatically when pressing the attack button which is difficult to do with the character controller. I tried multiplying the z axis of the vector3 but it always move in world position rather than the local position. Also tried setting the velocity but useless because of the character controller.

Any tips? thanks
Support me on Patreon for free adventure games and development insights - https://www.patreon.com/koexstudio