Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Kevron on June 10, 2013, 09:30:31 AM

Title: Navmesh and Animator
Post by: Kevron 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
Title: Re: Navmesh and Animator
Post by: jeanfabre 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
Title: Re: Navmesh and Animator
Post by: Kevron 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