Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: coxy17 on April 21, 2018, 10:58:33 AM

Title: LookAt2 action not working in Unity 2017.3 [SOLVED]
Post by: coxy17 on April 21, 2018, 10:58:33 AM
Hi,

I have tested the action (attached) I got from the forum a while ago called LookAt2.cs and it works in Unity 5.6.5f1 but when i updated my project to Unity 2017.31f1 the script doesnt work as intended. It looks at the target object but does not keep doing this everyframe regardless of checking the box.

Even the draw debug line doesnt work anymore.

Any ideas?

Nick
Title: Re: LookAt2 action not working in Unity 2017.3
Post by: coxy17 on April 21, 2018, 11:23:27 AM
solved it myself, seems i forgot that i updated Playmaker to 1.8.5 and there was a change which mean if you use LateUpdate() you have to include (Fsm.HandleLateUpdate = true;)

I've update the script incase others have any issues.