Hi,
I'll explain the problem (that's solved by a restart) but hopefully somebody can explain why this is like it is, because it can cause some headaches before this restart requirement is figured out.
I made an FSM that moves the owner object around so it follows the parent it is attached to. (just get position and set position in every frame)
Then when I tested it I noticed that as I move the parent around this object would only follow it with some lag/jittering. I thought that well I'll have to live with that, probably the scripts run slowly or something.
But then I was happily surprised to noticed that (after a restart) now the object follows the parent perfectly, no jittering or lag. Could not explain what caused it to now work as intended.
Then as I need more of these objects I copied it 3 times and renamed the new ones.
Then when testing I saw that the original one still works perfectly (follows the parent exactly) but the new three do the same lagging/jittering behind.
I checked a few things but could not figure out any reason why this could be. They are all the same.
So then I decided to restart Unity to check after that, maybe...
And voila, now they all follow the parent perfectly.
WHY IS THIS?
Do the variables I use in them (all local but named the same) need to be reinitialized? or something, so they don't interfere? with each other?
Any idea why this is so?
The more I use PlayMaker the more interesting things pop up.
Br,
Peter