Player collision/bounding box
by Derk Adams · in Torque Game Engine · 11/08/2004 (8:44 am) · 3 replies
Greetings,
I have imported a new character model which is about twice the height of the standard orc. The problem is that the collision box is still the "standard" size. The "collision" mesh in the modeling program seems to only work for vehicles and items, not players. Any ideas on how to change the size of the collision box? Is it hard coded into the engine? If so, any suggestions on where I should look?
Thanks.
I have imported a new character model which is about twice the height of the standard orc. The problem is that the collision box is still the "standard" size. The "collision" mesh in the modeling program seems to only work for vehicles and items, not players. Any ideas on how to change the size of the collision box? Is it hard coded into the engine? If so, any suggestions on where I should look?
Thanks.
About the author
Associate Craig Fortune
Just to make sure, are you certain its not the bounding box that you are saying is still same size?
In player.cs in the player datablock there is a setting called "boundingbox" try changing the values here (for instance make the z value way bigger) and then go in game again and check... I have a hunch its the boundingbox after you select the object that you are seeing as the same size.