#constant slerp speed?

3 messages · Page 1 of 1 (latest)

nova ice
#

hey gang, I have this code to rotate a node3d to look at the player. it currently moves instantly since my slerp weight is set to 1, and I've had it set to max_rot before for a smoother movement, but I'd like to know if there is a way to make it so that the node3d rotates at a constant rate using the max_rot value? or some other method if needed.

#

a version of the desired effect can be seen in this video in 2D godot. Only problem is, I'm not sure how to port it to 3d using slerp. https://youtu.be/ciT_jDol9G8?t=264

Hi guys! In this video I go over implementing what I call “smooth look at”. The most obvious use for this is for something like a turret in your game, but it could also be used to smooth out the rotation of any game object.

This video uses the following sounds from freesound:
"Decline (Loop)" by Andrewkn ( http://freesound.org/s/476772/ ) lic...

▶ Play video
nova ice
#

bump