Blending animations and poses

Please post any questions about developing your plugin here. Please use the search function before posting!
rovizon
Junior Member
Posts: 6
Joined: Mon May 31, 2021 3:01 pm

Blending animations and poses

Postby rovizon » Mon Jun 07, 2021 11:04 am

Hello! Could you give please an example how to blend animations and poses in Source.Python?
rovizon
Junior Member
Posts: 6
Joined: Mon May 31, 2021 3:01 pm

Re: Blending animations and poses

Postby rovizon » Wed Jun 09, 2021 8:54 am

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)

Return to “Plugin Development Support”

Who is online

Users browsing this forum: No registered users and 5 guests