Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
I ran into a problem with the native enemy behavior. I used a custom animated mesh for the enemy character and set it to attack the player. However, always after the first attack, the enemy freezes in place. I've tried to figure out a solution without success. It appears the problem doesn't occur when I'm not using an attack animation. Any help would be very much welcome. Here's an example of the problem. https://gofile.io/?c=F3kTVn Please let me know if you can't get it open. |
||||
|
this might be an error with the animated mesh...unsure. I had its walking around then attack but that's it... (need to change camera to "player' and add attack action to shoot with close up range etc) |
||||
|
I added "Reset object" behavior after each second for my enemys. They are possible to shoot me to death now. Here is the test CCB https://app.box.com/s/q0gy4etfl0wmbiggel4u7of4dvpo1uzw |
||||
|
velli wrote: I ran into a problem with the native enemy behavior. I used a custom animated mesh for the enemy character and set it to attack the player. However, always after the first attack, the enemy freezes in place. I've tried to figure out a solution without success. It appears the problem doesn't occur when I'm not using an attack animation. Any help would be very much welcome. Here's an example of the problem. https://gofile.io/?c=F3kTVn Please let me know if you can't get it open. Hello I would like to know if you managed to resolve this issue is the same problem I face |
||||
|
His solution was to add a "Reset Behaviour" after the attack. Without this, the enemy will attack once and stop but if you add a reset behaviour, the enemy will attack then reset (and attack again etc). |
|