Vector3 AddClamped( Vector3 toAdd, float maxLength )

Summary

Try to add to this vector. If we're already over max then don't add. If we're over max when we add, clamp in that direction so we're not.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.