Game Development Community

New Player Class

by Christian · in Torque Game Engine · 01/28/2007 (11:19 am) · 3 replies

I'm adding some new player classes, my wolf works, but 3 other characters show up half way in the ground. They run around, but half a body isn't quite as good as a full body. This is in my player.cs

exec("~/data/shapes/players/human/female/player.cs");
datablock PlayerData(OrcFemaleAvatar : OrcWarriorAvatar)
{
   shapeFile = "~/data/shapes/players/human/female/female_human_player.dts";
   mass = 85;
   maxEnergy = 100;
   rechargeRate = 0.1;
};

What is the problem?

#1
01/28/2007 (2:24 pm)
The artist that made the model most probably didn't put ground transforms in and/or put the origin of the model in the middle of it's chest intead of at the feet.
#2
01/28/2007 (10:00 pm)
I don't think that would be it, because i've seen them work in another project. I just don't know why they would be in the ground now.
#3
01/28/2007 (10:16 pm)
Check the dts in Show Tool Pro if you have it. And if you don't, you should.