Tuesday, May 26, 2009

Scythe Resolution


Bounding box issue is fixed. Apparently the player (and by extension aiplayer) objects get the size of the dimensions of their bounding box from script [specifically the boundingBox variable in the datablock definition for the player object].
Fortunately I found a post on GarageGames that had to do with a similar problem, though the post was nearly two years old & by someone using Torque Game Engine.

Anyway the bounding box for the scythe demon is now the correct size so collisions work for the entirety of the demon's body.

The picture shows 2 scythe demons, the left one has a correctly sized bounding box boundingBox = "6.2 6.2 7.3"; and the right one has a bounding box with the default value boundingBox = "1.2 1.2 2.3";

1 comment: