Sorry for bombing the forum with questions but I’m not sure if I understand this at all:
Currently I have a system that goes like this:
(armature is the armature of the player object)
if animation == 'idle':
armature.playAction('Idle', 1, 70, 1, 9, 5, 2, layerWeight, ipoFlags, speed)
elif animation == 'walk':
armature.playAction('Walk', 1, 18, 1, 2, 5, 0, layerWeight, ipoFlags, speed)
elif animation == 'jump':
armature.playAction('Jump', 1, 10, 1, 1, 5, 0, layerWeight, ipoFlags, 0.6)
But am I doing it wrong? It does work, but if anyone knows a better method I would love to know.
whats wrong with what you got?
That’s pretty much what I do. I think a lot of those switches are optional though. Mine looks something like this:
if own["Action"] == "Turn":
own.playAction("TurnAround", 1, 61, layer=3, blendin=10, speed=spd, play_mode=0)
elif own["Action"] == "GetHitFront":
own.playAction("GetHitFront", 1, 31, layer=3, blendin=10, speed=spd, play_mode=0)
hello i ddnt really know where to post this so i decide to post it here because the was the first thread that showed up:)my question is if i render a character in cartoon style is it possible to bring it to the game engine or to export it to cryengine in its cartoon form?
Oh Thank you for the answers. I wasn’t quite sure if I did it right and wanted to check here
own.playAction(“Action_Name”,Start, End, layer, priority, blendin, play_mode)