Author Topic: Inertia of draggableCamera  (Read 3595 times)

Madgeniy

  • Guest
Inertia of draggableCamera
« on: December 14, 2012, 05:56:51 AM »
Hello. I use UIDRaggableCamera. I have an issue: when I use iOS build all works fine, but when I use editor scroll doesn't have an inertia in mode "none" and "momentum". What can be wrong?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Inertia of draggableCamera
« Reply #1 on: December 14, 2012, 07:26:11 AM »
It's not supposed to have inertia in "none".

I recommend you use a draggable panel instead of the draggable camera approach. Clipped panels have more features when it comes to scroll views than the camera-based approach.

Madgeniy

  • Guest
Re: Inertia of draggableCamera
« Reply #2 on: December 15, 2012, 01:43:20 AM »
Yes, but it doesn't work on iPad 1 with antialiasing.
And, if I use example 8 and turn on "none" mode, camera has inertia when I finish to drag it's content by mouse in range of left and right bounds.

Madgeniy

  • Guest
Re: Inertia of draggableCamera
« Reply #3 on: December 15, 2012, 06:54:06 AM »
So, it's very strange, but I found that camera has inertia when my game is not full screen. I can't undestand this behaviour. Can you help me with it?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Inertia of draggableCamera
« Reply #4 on: December 15, 2012, 04:00:29 PM »
As I said I recommend you use a draggable panel instead. Camera-based approach has a lot of limitations.

Madgeniy

  • Guest
Re: Inertia of draggableCamera
« Reply #5 on: December 19, 2012, 04:56:13 AM »
Thanks, but it doesn't support by iPad1.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Inertia of draggableCamera
« Reply #6 on: December 19, 2012, 09:31:19 AM »
Sure it does. iPad1 has shaders. You must build for ARMv7 / GLES 2.0.

Madgeniy

  • Guest
Re: Inertia of draggableCamera
« Reply #7 on: June 03, 2013, 09:03:48 AM »
Yes, but I need anti-aliasing, it doesn't work in such mode.