Page 1 of 1

Blending animations and poses

Posted: Mon Jun 07, 2021 11:04 am
by rovizon
Hello! Could you give please an example how to blend animations and poses in Source.Python?

Re: Blending animations and poses

Posted: Wed Jun 09, 2021 8:54 am
by rovizon
SOLVED like this: In mymodel.qc file, I added pose layers to the required animation and recompiled the model. Now just changing the animation and pose parameter:

Syntax: Select all

entity.call_input ('SetAnimation', 'fire')
entity.set_property_float('m_flPoseParameter.000', 0.75)