Game Development Community

GuiPlayerView animation question

by Jacob · in Torque Game Engine · 11/27/2005 (2:47 pm) · 6 replies

I am hoping for some help with this issue:

I have a GuiPlayerView set up and my player model loads into it but it's static. I would like to have it play an animation like the "forward" animation that seems to show in the Realm Wars player selection screen.

Here is the command I am using to make it happen:

ShowPlayer.setModel("Game/Data/Player/player.dts", "Game/Data/Player/player_run.dsq");

Is there anything else I need to do to have my animation play?

Thanks!

#1
12/01/2005 (12:54 pm)
Any ideas?
#2
12/01/2005 (1:12 pm)
Try this instead.

According to this thread, animation in guiPlayerView hasn't ever worked properly, but guiObjectView should give you the fuinctionality you're looking for.

~Hope this helps
#3
12/01/2005 (1:22 pm)
Thank You - that clears things up! :)
#4
12/01/2005 (5:30 pm)
I'm not 100% certian where the guiObjectView code should be placed for it to compile correctly. Any help for this code-noob will be greatly appreciated :)

Cheers
#5
12/02/2005 (12:00 am)
My .cc & .h files are in engine/gui
And in the example/fps/client/ (scripts & ui) I placed the .cs and .and .gui ;o)
#6
12/02/2005 (6:12 am)
Excellent. Just needed someone to confirm :)

Cheers mate!