Skip to content

Procedural motion and interpolation experiments in Unreal Engine

License

Notifications You must be signed in to change notification settings

monguri/MotionExperiments

 
 

Repository files navigation

Motion Experiments in Unreal Engine

Some experiments on procedural animations, interpolations, tweening, etc.

Interpolation

Critically Damped Spring Smoothing

Looking for code translations of this theory, I stumbled upon Keijiro's 'SmoothingTest' Repository.

I took the time to convert his code in a c++ blueprint-compatible-flavor to use this smoothing type in Unreal Engine, which is similar to Unity's SmoothDamp, but with less operations.

VectorSpringInterpCD

Accessible in Blueprints:

You can also get the gist of it here.

Unreal SmoothDamp

Slerp for Unreal Rotators

Rotators and practical in blueprints, but using RInterpTo on opposed angles sometimes gave me odd results.

If you find your rotations going crazy, you can try using RotatorSlerpTo() which just converts FRotator to FQuat and then uses FMath::QInterpTo() code.

Unreal SmoothDamp

About

Procedural motion and interpolation experiments in Unreal Engine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • C++ 86.1%
  • C# 13.5%
  • C 0.4%