Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Jerry on August 06, 2014, 12:22:39 PM
-
Hello,
I write because I can not find a solution to my problem for over a week. Problem is the jittering in moving object (Move Towards or iTween Move To).
The scene is very very simple.
In the scene I have empty object that is a generator. It generates an object taken from Prefabs.
Generator FSM:
"Create Object" action, "Wait" some seconds and again "Create Objec", "Wait"...
Generated object (from Prefab) is a Plane.
No Rigidbody added.
Plane FSM:
Has action: "iTween Move To". After reach the XZ position in the corner of the screen it goes to action -> "Destroy Self".
From time to time in the build appears jittering (object jumps over a small piece of a continuing road).
In Web build you have to stare at less than a minute to see the problem. When you make build for Android it is visible at a higher frequency.
I tested it on my devices:
-samsung galaxy tab 3 8.0 - the problem appears every 7-10 seconds (average)
-samsung s4 mini - issue seen every 2 seconds (average)
Any idea to solve the problem?
Thanks for any advice.
-
I added Web build link so you can see the problem: http://testing00.za.pl/
If you do not see the problem for 15-20 seconds, please be patient and wait until it passes more or less a minute.
-
Hi,
can you share this repro scene? is it a physics object?
Bye,
Jean
-
Even though this is a pretty simple test scene I've read that Unity can hiccup when creating and destroying objects. Have you tried an object pooling solution.