playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
npc vector moving
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: npc vector moving (Read 986 times)
Prestonh
Playmaker Newbie
Posts: 44
npc vector moving
«
on:
November 07, 2018, 09:56:03 PM »
What and how do you get a vector from a moving npc? Im trying to animate the movements of a npc, but the only way i know is from the input axis vectors to animator float varibles. But on a npc?
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: npc vector moving
«
Reply #1 on:
November 13, 2018, 12:56:58 AM »
Hi,
you get the velocity of a gameobject using GetVelocity action.
You should also look on Unity forum on how to work with NPC and mecanim, as well as pathfinding ( which similar to npc )
https://docs.unity3d.com/Manual/nav-CouplingAnimationAndNavigation.html
https://answers.unity.com/questions/539419/how-do-i-use-mecanim-on-an-npc.html
Bye,
Jean
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
npc vector moving