I have a new problem…with the BLEND_BLEND
i.e.
playAction(name, start_frame, end_frame, layer=0, priority=0, blendin=0, play_mode=KX_ACTION_MODE_PLAY, layer_weight=0.0, ipo_flags=0, speed=1.0, blend_mode=KX_ACTION_BLEND_BLEND)
I am able to call this fine, it is just not working …it’s not blending I have blendin set to 4 and it is not an empty animation…any tips?
I’m calling blend = bge.logic.KX_ACTION_BLEND_BLEND…or something…I’m off to work and my code in not open…I will update this post later.
EDIT:
sorry such a poor question, but It was before work and I was tired + on my way out the door
below is what the actual code looks like…it is only a snippet as I would not animate every state this way…but the basic animation function I am using is the same…
play = bge.logic.KX_ACTION_MODE_PLAY
blend = bge.logic.KX_ACTION_BLEND_BLEND
if own['anim_frames'] < 19:
own['anim_frames'] += 1
elif own['anim_frames'] > 19:#20 frames
own['anim_frames'] = 0
#own.playAction('jump',own['anim_frames'],own['anim_frames'],play, speed = 1)
## work place...the above works for basic anim fallback
own.playAction('jump', own['anim_frames'],own['anim_frames'], layer=0, priority=0, blendin=4, play, layer_weight=0.0, ipo_flags=0, speed = 1.0, blend)
and I am getting ‘positional argument follows keyword argument’…I have a basic understanding of what it means, but I am not seeing the problem…and I could not find any examples…have I assigned a value somewhere that was predefined or something??? I hope someone could point me to a link or something with a better explanation…I am just trying to blend into animations…I thought I could do it, but now I am having issues.