Touches Question, please help meeeee :-)
I have many items that I have to move with more fingers, I did many tests, but it works bad! I want to move several objects simultaneously, how can I fix this?
i use this Rule :
first test:
touch is inside -->> constrain attribute ( self.position.X TO game.Mouse.Position.X )
touch is inside -->> constrain attribute ( self.position.Y TO game.Mouse.Position.Y )
with this solution when i touch iPad display and touch first object the object go to first fingers!
Second Test:
touch is inside -->> constrain attribute ( self.posotion.X TO game.Touches.Touch 1.X )
touch is inside -->> constrain attribute ( self.posotion.Y TO game.Touches.Touch 1.Y )
with this solution when i touch first object the object and after touch second object, the second object go to first object!
Third Test:
Firs object:
touch is inside -->> constrain attribute ( self.posotion.X TO game.Touches.Touch 1.X )
touch is inside -->> constrain attribute ( self.posotion.Y TO game.Touches.Touch 1.Y )
second object:
touch is inside -->> constrain attribute ( self.posotion.X TO game.Touches.Touch 2.X )
touch is inside -->> constrain attribute ( self.posotion.Y TO game.Touches.Touch 2.Y )
the second object moves when I'm touching the first object!
thanks To help Me
i use this Rule :
first test:
touch is inside -->> constrain attribute ( self.position.X TO game.Mouse.Position.X )
touch is inside -->> constrain attribute ( self.position.Y TO game.Mouse.Position.Y )
with this solution when i touch iPad display and touch first object the object go to first fingers!
Second Test:
touch is inside -->> constrain attribute ( self.posotion.X TO game.Touches.Touch 1.X )
touch is inside -->> constrain attribute ( self.posotion.Y TO game.Touches.Touch 1.Y )
with this solution when i touch first object the object and after touch second object, the second object go to first object!
Third Test:
Firs object:
touch is inside -->> constrain attribute ( self.posotion.X TO game.Touches.Touch 1.X )
touch is inside -->> constrain attribute ( self.posotion.Y TO game.Touches.Touch 1.Y )
second object:
touch is inside -->> constrain attribute ( self.posotion.X TO game.Touches.Touch 2.X )
touch is inside -->> constrain attribute ( self.posotion.Y TO game.Touches.Touch 2.Y )
the second object moves when I'm touching the first object!
thanks To help Me
Answers
Or ur prob is diff from this?