- Home /
Question by
unity_qc3pif-uPrHocQ · Apr 16, 2020 at 07:04 PM ·
rotationmobiletouch
How to rotate an object around a fixed point by
So I'm working on a mobile game and I want to rotate the purple rectangle around the red square in reference to the center of the square by swiping. In addition I want the rectangle to move with the speed of the swipe. Here is a picture for demonstration (the circles represent the swipe of the finger):
Thank you for your help!
32663-example.png
(20.9 kB)
Comment
Your answer
Follow this Question
Related Questions
How to rotate an object using touch controls 3 Answers
Turning touch to rotation 1 Answer
Rotate model with ARKit 0 Answers