- Home /
 
 
               Question by 
               Arman · Dec 28, 2010 at 08:51 AM · 
                movementiphoneiphonetouch  
              
 
              Alternative of touchesMoved in Unity3D
- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event {
    UITouch *touch = [[event allTouches] anyObject];
    CGPoint location = [touch locationInView:touch.view];
    CGPoint xLocation = CGPointMake(location.x,racquet_yellow.center.y);
    racquet_yellow.center = xLocation;
}
 
                
                
               The above event move recquet_yellow(UIImageView) with mouse pointer, I have 3D Object in Unity3D how can I move the my object like recquet_yellow. Kindly guide me.
               Comment
              
 
               
              Your answer
 
             Follow this Question
Related Questions
Stop Unity Remote service 1 Answer
Unity iPhone scene transition on Tap of GUIText 1 Answer
Camera Rotation Probleme with iPhone 0 Answers
How to Use Activity Indicator in Unity3d 1 Answer
All objects response to one touch 1 Answer