Download

For New People - A quick and easy way to work out which way player is moving.

Hi There

Here is a simple way I worked out to detect movement direction and how to capture it.

Make a Function:

  • Make 2 inputs - One for Forward and one for Right

822a74acbe46238f44904549d5442e20a7bbdbf9.jpeg

  • Run a check to see if they are positive or Negatives. In this case I am just running Print Screens as testing.

Capture.JPG

Plug it in to your Move in your Player Character.

6eee9757c3e4c09b6b220c10a6778cdb155f8e78.jpeg

From there on, you can set Variable to run off this instead of Print Strings or anything you like.

Hope this helps

Narg

Seems kind of complicated when you could just do a dot product between the velocity and the forward vector of the actor. Interesting solution though.