DEV Community

Sunder Iyer
Sunder Iyer

Posted on

TIL Unity has Aim Constraints

2021-01-25

So I had a meaningful conversation with an executive coach today and it was very useful; I learned a lot and I'll briefly summarize it as: find your essence and then, do the smallest but biggest thing you can do today!

Switching gears from personal development to game development, I discovered Unity has Aim Constraints. If you've used Maya, these function the same way.
Screen capture of list of constraint components
In fact, judging by the list, I daresay that the Unity Constraints were built to mirror Maya's Constraints so that you could import complex rigs and control these properties in Unity.

Ignoring this speculation, I find these are very useful for setting up complex transform relationships between your game objects. For example: you can quickly setup security cameras with Aim Constraints to follow your character with rotation on a specific axis. Thanks to weighting, it's possible to allow constraints between multiple objects so you can build even more complex relationships!

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more