Drag problem... With large scene...
Hi!
I'm frustrated, because i can't drop an actor in y scene. (on iPad)
My X scene size = 3000
When i constrain my actor X position to the game.mouse.position.X, its based on 1024 and not 3000... So when i click on my actor and my camera is on X=2500, my actor disapear on position between 0 and 1024)
Any idea on that issue?
Hope that you understand me
Thanks
Cheers!
I'm frustrated, because i can't drop an actor in y scene. (on iPad)
My X scene size = 3000
When i constrain my actor X position to the game.mouse.position.X, its based on 1024 and not 3000... So when i click on my actor and my camera is on X=2500, my actor disapear on position between 0 and 1024)
Any idea on that issue?
Hope that you understand me

Thanks
Cheers!
Comments
If you need to correct an issue like that, here is the way :
You have to constrain the actor position X to :
game.Mouse.Position.X + scene.Camera.Origin.X
Cheers!