Game Development Community

How do I edit the collision bounds for the Player?

by Robert Carroll · in TGB Platformer Kit · 08/29/2011 (2:00 pm) · 1 replies

Hi, I haven't used Torque and forgot where a lot of things where and how they worked... but I got back to it today and was wondering how do I change the collision bounds for the player. I subbed my own animations in for the "Dragon" but then in My animation the feet go through the ground. Is there a file with the collsion bounds? Or is there a place where I can edit it?

Sorry if this sounds a little confusing.

#1
08/29/2011 (2:33 pm)
"Player.cs"

line 527.

boundingBox = "1 1 2";
swimBoundingBox = "1 2 2";

...or change this assignment in your 'dragon' datablock. Well, might be something a tad different for this particular engine. What I copied from was the T3D 'player' datablock.