playMaker

Author Topic: Navmesh and Animator  (Read 2049 times)

Kevron

  • Junior Playmaker
  • **
  • Posts: 51
Navmesh and Animator
« on: June 10, 2013, 09:30:31 AM »
I would like to start by thanking you Jean for "converting" the navmesh demo into playmaker. I am playing around with it, and it works wonderful.

I am creating a classic point and click adventure, so when the mouse clicks on the ground, a global vector 3 variable is sent to the "agent destination". So far so good.

But, if the player presses an "activate" icon, I would like to set a fixed position and rotation before "activate animation" start.

I have managed to just set a new vector 3 position upon activate click, and fed that into the animator. But I cant control the rotation. So I guess there is some calculations on the rotation somewhere in your setup (navmesh), but I am not sure how to manually set the desired end rotation of the character.

Thanks for your valuable help,
Tor M

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Navmesh and Animator
« Reply #1 on: June 11, 2013, 01:31:07 AM »
Hi,

 I guess you should try to shutdown the navmesh behavior, have you tried that?

bye,

 Jean

Kevron

  • Junior Playmaker
  • **
  • Posts: 51
Re: Navmesh and Animator
« Reply #2 on: June 11, 2013, 03:41:26 AM »
Hi,

Not sure how to go about that, but I´ll try to go deeper into it to figuring it out.

Cheers,
Tor M