Question by
mushroomman954 · Aug 14, 2020 at 03:58 PM ·
c#rotationtransform3d
Rotate transform to match another, but not past 180°
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