Your cart is currently empty!
Tag: game development tips
-
Limiting rotation in Unity easily, using relative direction of game objects
I wanted a way that would allow me to limit the gun rotation based on two game objects. That way different guns on the ship could have different limits so that the player couldn’t shot their own ship 😆 I wanted the limits to be visual, so that they are easy to visualize and adjust.…