Bake Biped Head Look At animation
Last Updated on 16/11/2025
(
local BipRoot= $
if BipRoot.controller.headobject != undefined then
(
local BipHead = biped.getNode BipRoot #Head
local BipHeadTrans_arry =#()
setWaitCursor()
local start = (animationRange.start /TicksPerFrame) as integer
local end = (animationRange.end /TicksPerFrame) as integer
local step = 1
slidertime = 0
for t = start to end by step do
(
at time t
(
append BipHeadTrans_arry (biped.getTransform BipHead #rotation)
)
)
slidertime = 0
BipRoot.controller.headobject = undefined
biped.clearSelectedAnimation BipHead.controller
for t = start to end by step do
(
at time t
(
biped.setTransform BipHead #rotation (BipHeadTrans_arry[t+1]) true
)
)
setArrowCursor()
)
)
Here is my maxscript snippet that allows baking animation from Biped’s head when the head is animated with the “Look At” controller. The script bakes the Biped head’s animation and then removes Look At Target.
How to use:
- Select biped COM object (Bip001)
- Run script