playMaker

Author Topic: 3rd Person Animation Help  (Read 1121 times)

DukeODeath

  • Playmaker Newbie
  • *
  • Posts: 1
3rd Person Animation Help
« on: March 07, 2017, 01:10:53 PM »
Hi, I'm a beginner and I'm trying to implement animations to my character.

I don't want to use smooth look at because I have animations that turn 90 and 180 degrees. The parameters for my blend tree are Turn and Forward.

I don't know how to determine the "forward" direction relative to my character and store it in a variable. Keep in mind that the animations turn 90 and 180 degrees.

I tried Get Vector and Get Vector3 XYZ but they're relative to the original position.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: 3rd Person Animation Help
« Reply #1 on: April 10, 2017, 06:35:06 AM »
Hi,

 you need to use "TransformDirection" for this, and give your forward local vector, it will return you the world vector of that local vector based on that transform.

 Bye,

 Jean