-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vector3 "rotate towards another Vector3" function #21383
Comments
Read this, we have a look at the function for the most basic 3D node Spatial. |
@swarnimarun I'm aware of that, but that isn't quite what this is asking for. |
From the top of my head (there might be typos in here):
|
@KellyThomas Oh wow, I didn't even know To calculate I think I can create a function in a utility singleton that does this... or, I can just use @BastiaanOlij's code that he posted as I was writing this!!! Either way, this probably isn't needed anymore. |
It would be nice to have a Vector3 function that rotates it towards another Vector3, restricted to a maximum rotation delta. This exists in Unity, and it's very handy since it's kind of hard to do on your own. Especially when you don't know what you're doing... like me.
The text was updated successfully, but these errors were encountered: