Camera Help

I described the same issue here:

Before 1.6.2 it worked flawlessly. Something changed and I can’t yet find out what. I noticed it because I had tutorial written ready in November for camera movement for Platformer, but when I tried to follow my own tutorial - I failed :sweat_smile: Before I needed only to attach camera and send the two messages, now it’s not the way :confused:

The “doubled” sprite is appearing really fast, because I can’t record it on screen, but I see it on my screen.

I recorded it though with phone:

Aa, ok - there seems to be issue here.

Position of hero game object (having camera inside) is changed over time with non-integer values. e.g.:

DEBUG:SCRIPT: vmath.vector3(510.33340454102, 256, 0) -- going right
DEBUG:SCRIPT: vmath.vector3(518.66674804688, 256, 0)
DEBUG:SCRIPT: vmath.vector3(527.00006103516, 256, 0)
DEBUG:SCRIPT: vmath.vector3(535.33337402344, 256, 0)
DEBUG:SCRIPT: vmath.vector3(535.33337402344, 265.72222900391, 0)  -- started jumping
DEBUG:SCRIPT: vmath.vector3(535.33337402344, 275.16668701172, 0)

Why it’s the issue now and wasn’t before 1.6.2?

1 Like