playMaker

Author Topic: Help with character movement [SOLVED]  (Read 863 times)

Schleckenmiester

  • Playmaker Newbie
  • *
  • Posts: 11
    • schleck.dev
Help with character movement [SOLVED]
« on: February 19, 2019, 03:56:13 AM »
I'm trying to make a third person character controller without using the Character Controller action so that I can implement jumping and use Rigidbody to handle the physics. It was all working fine and dandy, I used Get Axis for X and then Set Velocity for that which allowed the character to move along the map and it has gravity. The problem is that if I try to rotate the camera with a mouse like most third person games, the character's direction doesn't rotate because Set Velocity is applying the movement globally. I could use Get Axis Vector, but then the player falls a lot slower. Can anyone help?

I think this is the solution in C# but am not sure how to do it in PlayMaker.

EDIT: I figured it out, I just used a different solution. I put a "look at" as a child object in front of the player and used the Move Towards action instead of Set Velocity. Also whenever I moved the camera and pressed one of the arrow keys the player would look in that direction.
« Last Edit: February 19, 2019, 03:03:43 PM by Schleckenmiester »
Check out my blog, I'm making a game with Playmaker! https://schleck.dev