playMaker

Author Topic: Jittering in moving object  (Read 1911 times)

Jerry

  • Playmaker Newbie
  • *
  • Posts: 5
Jittering in moving object
« 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.

Jerry

  • Playmaker Newbie
  • *
  • Posts: 5
Re: Jittering in moving object
« Reply #1 on: August 07, 2014, 04:23:16 AM »
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.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Jittering in moving object
« Reply #2 on: August 14, 2014, 08:32:30 AM »
Hi,

 can you share this repro scene? is it a physics object?

 Bye,

 Jean

redikann

  • Full Member
  • ***
  • Posts: 174
Re: Jittering in moving object
« Reply #3 on: August 14, 2014, 02:31:04 PM »
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.