Was testing 2D/3D object rotation by touch on iPad Mini. Green circle on the left is 2D sprite. The white circle on the right is actually a sphere. Both have 4 small cubes attached as child object to make it easier to see the rotation.
Have to add extra checking to see if the touch position is above/under the centre position, or to the left/right of the centre position. As otherwise when you touch and drag on the other side of the object, it rotates in the opposite direction.
As this is using Unity Remote 4 running on iPad Mini, the screen resolution is not that good and a bit unclear.
Video taken from crappy Windows Phone 8 on Nokia Lumia 635, mainly to cut down the video file size.
No comments:
Post a Comment