playMaker

Author Topic: Possible bug with iTweenMoveTo action  (Read 1155 times)

MrTact

  • Playmaker Newbie
  • *
  • Posts: 1
Possible bug with iTweenMoveTo action
« on: December 29, 2014, 01:11:55 PM »
Ran into a weird problem today where I had an iTweenMoveTo action and an iTweenLookAt action in the same state. I wanted to see whether it was feasible to combine the two by setting the LookAtObject property of the MoveTo. It didn't work out and I set the LookAtObject back to None.

However, after doing this, it would routinely crash in iTweenMoveTo.doITween because lookAtObject.IsNone would be false, but the value of LookAtObject was null. Not really sure what happened there. I ended up having to remove and recreate the action to get back to a working state.