playMaker

Author Topic: LookAt2 action not working in Unity 2017.3 [SOLVED]  (Read 467 times)

coxy17

  • Beta Group
  • Sr. Member
  • *
  • Posts: 352
    • View Profile
LookAt2 action not working in Unity 2017.3 [SOLVED]
« on: April 21, 2018, 07: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
« Last Edit: April 21, 2018, 08:23:48 AM by coxy17 »

coxy17

  • Beta Group
  • Sr. Member
  • *
  • Posts: 352
    • View Profile
Re: LookAt2 action not working in Unity 2017.3
« Reply #1 on: April 21, 2018, 08: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.