Need a suggestion here
by Shakey · in Torque 3D Professional · 11/03/2011 (10:05 am) · 0 replies
Good Morning All
Below I have embedded a video of what I am working on. I am having a problem with two things one was mentioned on a previous thread, But if you view the video you will see that my run animation for the zombie is clearly not working, it is like he is gliding. Although I set the animation to be sprint1, what am I doing wrong.
Also I do not know where to scale my zombie to that of the size of the soldier model, It was stated to scale the model to 1.2, but I have did that in the code.
Code generated after selecting animation in shape editor
Datablock code
Below I have embedded a video of what I am working on. I am having a problem with two things one was mentioned on a previous thread, But if you view the video you will see that my run animation for the zombie is clearly not working, it is like he is gliding. Although I set the animation to be sprint1, what am I doing wrong.
Also I do not know where to scale my zombie to that of the size of the soldier model, It was stated to scale the model to 1.2, but I have did that in the code.
Code generated after selecting animation in shape editor
singleton TSShapeConstructor(Zombie_04Dts)
{
baseShape = "./Zombie_04.dts";
scale = "1.2 1.2 1.2";
};
function Zombie_04Dts::onLoad(%this)
{
%this.addSequence("sprint1", "sprint1", "0", "20");
}Datablock code
datablock PlayerData(zombie_04 : DefaultPlayerData)
{
shapeFile = "art/shapes/actors/GG_Zombie/Zombie_04.dts";
maxDamage = 50;
scale = "1.2 1.2 1.2";
};