- Home /
Other
cover more distance in the same time to keep gameObjects connected when rotating
hi,
I have three lines on the walls of a room. Those are rotated to the left around their center at runtime which looks like this:
I have some code on the individual lines to keep them from rotating around themselves and to keep them restricted to the x- and z-axis to always stay flat on the wall. If I then rotate them they stay at the wall and don't rotate but they don't move far enough since they would have to cover more space in the same time than before which looks like this:
Does anybody know how I could fix this so the top and bottom lines move far enough to fit?
thanks in advance :)
Follow this Question
Related Questions
how to make a detect rotation script for negative rotation too 2 Answers
Help making orbiting planets,How to rotate around the objects with the largest mass? 0 Answers
rotateAround pivots at unexpected point 1 Answer
Rotation speed,Rotate script slows down 1 Answer
How to make the ball rotate 0 Answers