Hi,
I need to drag objects during the game with Charp and mouse . Like you can see in the image below the objects are rotated in different position.
With the code below when i drag to Y both of them goes to new Y ok. When i drag the object B to his X it goes well to the new X, it goes exactly like the black arrows, But when i drag the object A, does not work good it drags again the object like the black arrow . I need to drag the object every time...
Drag 3D Object with mouse on its local position
I need to drag objects during the game with Charp and mouse . Like you can see in the image below the objects are rotated in different position.
![[IMG]](http://splendor.gr/img2.png)
With the code below when i drag to Y both of them goes to new Y ok. When i drag the object B to his X it goes well to the new X, it goes exactly like the black arrows, But when i drag the object A, does not work good it drags again the object like the black arrow . I need to drag the object every time...
Drag 3D Object with mouse on its local position