Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
I have an animated mesh that is set to an AI that patrols and attacks the player but after the attack animation it just freezes in place. If I use one of the built in characters like the sleep walker for enemy AI the character patrols and attacks the player then carries on patrolling which is the behavior I want for my custom character. I've used the same settings for both characters. |
||||
|
zilleous wrote: I have an animated mesh that is set to an AI that patrols and attacks the player but after the attack animation it just freezes in place. If I use one of the built in characters like the sleep walker for enemy AI the character patrols and attacks the player then carries on patrolling which is the behavior I want for my custom character. I've used the same settings for both characters. Howsit! I have had exactly the same issue, with the built in models it works fine, but for our meshes it doesn't So this is what worked for me: StandAnimation - choose your animation WalkAnimatino - choose your animation DieAnimation - choose your animation AttackAnimation - set to none ActionOnAttack: - Set animation of animated scene node(choose your attack animation) - do something later(i think it was set to 500ms) - -restart behavior of scene node (current) ...but you can also try these scripts from 5v3n, i haven't actually tried them yet, but he did suggest you can create custom behavior with these if you want https://5v3n.itch.io/coppercube-... |
||||
|
Thanks I will give it a try. I also noticed now that my model says it is 300fps in the animated mesh editor when it's supposed to be 30fps. If I change it to 30fps it seems to work but the animations play very slow. |
||||
|
wrote: Thanks I will give it a try. I also noticed now that my model says it is 300fps in the animated mesh editor when it's supposed to be 30fps. If I change it to 30fps it seems to work but the animations play very slow. -did you use mixamo for the animations and merge them in blender? That's how i did mine, and mine also sits on 300fps, but they seem to work fine |
||||
|
Hi Did you ever come right with the animations? |
|