The animation and the mesh toghether in the model viewer
by Greaythan · in Artist Corner · 04/28/2002 (4:57 am) · 2 replies
Got a new problem ':)
If you load the player in the model viewer ,and push the "thread control" button ,you'll see the player sequences automatically loaded in the window.
Why my model (anitomato.dts), i need to load the sequence file(tomato_root.dsq)then push "new thread" in the "thread control" window.
I suppose the error is in the .CS file.
//-----------------------------------------------------------------------------
// Torque Game Engine
//
// Copyright (c) 2001 GarageGames.Com
// Portions Copyright (c) 2001 by Sierra Online, Inc.
//-----------------------------------------------------------------------------
datablock TSShapeConstructor(anitomato.dts)
{
baseShape = "./anitomato.dts";
sequence0 = "tomato_root.dsq root";
};
Where is the error ?What does i need to do so the sequence automatically load ?
Thank you !
If you load the player in the model viewer ,and push the "thread control" button ,you'll see the player sequences automatically loaded in the window.
Why my model (anitomato.dts), i need to load the sequence file(tomato_root.dsq)then push "new thread" in the "thread control" window.
I suppose the error is in the .CS file.
//-----------------------------------------------------------------------------
// Torque Game Engine
//
// Copyright (c) 2001 GarageGames.Com
// Portions Copyright (c) 2001 by Sierra Online, Inc.
//-----------------------------------------------------------------------------
datablock TSShapeConstructor(anitomato.dts)
{
baseShape = "./anitomato.dts";
sequence0 = "tomato_root.dsq root";
};
Where is the error ?What does i need to do so the sequence automatically load ?
Thank you !
#2
04/28/2002 (6:27 am)
I have corrected but i always need to load the sequence manually !Where is the problem ?
Torque Owner Badguy
datablock TSShapeConstructor(anitomato.dts) { baseShape = "./anitomato.dts"; sequence0 = "tomato_root.dsq root"; };Should be:
datablock TSShapeConstructor(anitomato.dts) { baseShape = "./anitomato.dts"; sequence0 = "./tomato_root.dsq root"; };Notice the very important ./ for the dsq
to specify This current folder