ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperCube > Help with CopperCube
forum topic indicator AI stops after attacking
person icon
zilleous
Registered User
Quote
2023-12-12 07:06:45

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.

person icon
jctech
Registered User
Quote
2023-12-12 10:21:15

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-...

person icon
zilleous
Registered User
Quote
2023-12-12 12:48:30

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.

person icon
jctech
Registered User
Quote
2023-12-12 13:49:45

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

person icon
jctech
Registered User
Quote
2024-01-02 16:20:31

Hi

Did you ever come right with the animations?


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |