Game Development Community

T3D Beta 2 Bug: Swiming Animation

by Kevin Mitchell · in Torque 3D Professional · 05/09/2009 (4:56 pm) · 24 replies

When swimming the animation is stuck on root animation.
Page«First 1 2 Next»
#21
08/28/2009 (11:43 pm)
I have the same problem. I have Ava model with the swim_forward & swim_root animations. All the other animations play ok for Ava model, but when I go to swim, it just plays the swim_root animation. This is with Beta 5.
#22
08/28/2009 (11:59 pm)
I would suggest you to run in debug from visual studio, hit F12 while swimming forward, then put a breakpoint in pickActionAnimation and see whats going on.

Swim root/forward is working properly for Gideon in beta5 so i suspect it is an art problem with your animation.
#23
09/16/2009 (8:20 am)
Add this code in Player.cpp file and rebuild project

{ "swim_forward", { 0.0f, 1.0f, 0.0f } },
   { "swim_backward", { 0.0f, -1.0f, 0.0f } },
   { "swim_left", { -1.0f, 0.0f, 0.0f } },
   { "swim_right", { 1.0f, 0.0f, 0.0f } },
#24
09/23/2009 (12:02 am)
@Gwang
Added your code to Player.cpp as shown above, and now it works! Thank you!
Page«First 1 2 Next»