Skip to content

Api > LuaBehaviour > OnAnimatorMove()


LuaBehaviour.OnAnimatorMove()⚓︎

Callback for processing animation movements for modifying root motion.

Usage⚓︎

local script = LUA.script;

--- OnAnimatorMove message from LuaBehaviour

function script.OnAnimatorMove()
   -- your code here 
end

Extra Detail⚓︎

This callback will be invoked at each frame after the state machines and the animations have been evaluated, but before OnAnimatorIK.