Player Selection animation
by Temasek Polytechnic Tp8 · in Torque Game Engine · 07/20/2006 (12:10 am) · 1 replies
ConsoleMethod( GuiPlayerView, setModel, void, 4, 4, "playerView.setModel( raceGender, skin )" )
{
argc;
object->setPlayerModel( argv[2], argv[3]);
}
how to add animation into this
void GuiPlayerView::setPlayerModel( const char* shape, const char* skin )
{
// Stuff random rotation values in...
mCameraRot.z = gRandGen.randF(-4.14, -1);
if ( mModel )
this is under guiplayerview.cc
{
argc;
object->setPlayerModel( argv[2], argv[3]);
}
how to add animation into this
void GuiPlayerView::setPlayerModel( const char* shape, const char* skin )
{
// Stuff random rotation values in...
mCameraRot.z = gRandGen.randF(-4.14, -1);
if ( mModel )
this is under guiplayerview.cc
About the author
Torque Owner Temasek Polytechnic Tp8