playMaker

Author Topic: Bad frame rate for object moving fast  (Read 1204 times)

app_advisory

  • Junior Playmaker
  • **
  • Posts: 80
    • View Profile
    • App Advisory
Bad frame rate for object moving fast
« on: November 04, 2014, 04:20:38 PM »
Hi,

I don't know why, I spent a day on it, but I have a terrible frame rate for my moving object.

All my GUI animation have a perfect frame rate.

So I don't understand why the "tiles" in my game have a bad frame rate.

I checked the profiler, there is no issue.


I use pool manager pro to spawn my object.

My game is very simple. There is no lights, no shadows

The shadows you can see are fake (just an image)

I have only 8 draw calls.

Here a video of my game to understand what I see and what is my issue.



I tried to desactivate all the physics it doesn't change anything

I tried to move the tiles with the translate action, nothing good

I tried to move the tiles with Gravity (set velocity) and it's exactly the same.

The tiles have a box collider, and are triggers.
And a rigid body with no Gravity (in my sample video).
In the video I move the tiles with the translate action.

The ball have a box collider and a rigid body and use gravity.

At each jump, I change the gravity.

Thanks a lot for your help, I really try to find a solution myself during at least 10 hours :(

Thanks again.
« Last Edit: November 04, 2014, 04:25:58 PM by app_advisory »

app_advisory

  • Junior Playmaker
  • **
  • Posts: 80
    • View Profile
    • App Advisory
Re: Bad frame rate for object moving fast
« Reply #1 on: November 05, 2014, 07:16:40 AM »
In fact I find a way in iOS.
I put the scale = 0.01
And max allowed = 0.03

It works but it's a bad solution.

Any help ?