Question by
mushroomman954 · Aug 14, 2020 at 04:00 PM ·
c#rotationtransformship
Rotate an object within a limit
Hey all, I'm working on a sailing game where i'm trying to get the sails of the ship to match the rotation of a wind object in my scene, but within a range of 180°, as I dont want the sails facing backwards. I dont know any way of doing this, all help is really appreciated! I'm programming the game in C#
Comment
Your answer
Follow this Question
Related Questions
Clamp transform.rotation? 0 Answers
Move rotating object 0 Answers
How do you rotate the player and keep them there? 1 Answer
Unity 2D - Rotating the controls themselves 0 Answers
Rotate transform to match another, but not past 180° 0 Answers