Game Development Community

Special Dog Biting Animation Help Requested

by Jason Davis · in Torque Game Engine · 08/07/2006 (2:56 pm) · 2 replies

Alright, thanks in advance to anyone willing to help me out. I decided to post in the private forums because I have a feeling this will require some engine modifications.

I have an AI character based off of the AIGuard resource. It is a dog-looking creature that runs and attacks the player. The dog works great, it inflicts damage with the weapon mounted on it when it "bites" the player.

I want the dog to actually ANIMATE a biting animation while attacking. So far, I have the biting animation (done in milkshape) loaded into the engine, but when I use setActionThread it does absolutely nothing. I tried hacking it with playThread but then the death animation (which I invoke with setActionThread) does not work. Any help on this is appreciated!! Thanks!

- Jason

#1
08/08/2006 (7:24 pm)
Is the dog moving when it bites? It may cancel the animation if it is moving. Check inside the player.cc source code.
#2
08/09/2006 (7:27 am)
No, it is not moving. I think someone has helped me find the issue in this thread:

http://www.garagegames.com/mg/forums/result.thread.php?qt=48828