Game Development Community

Loosing crossbow in first person

by Tyler Cattafi · in Torque Game Engine · 05/08/2006 (7:53 pm) · 2 replies

I'm having an issue with the crossbow dissappearing in first person in the starter.fps demo. There's like a 90 degree arc where I can't see the crossbow. This is on a custom character that is a little taller than the orc. Any ideas why this is happening?

#1
05/08/2006 (8:56 pm)
Your bounding box is too small and as a result is clipping the crossbow from view. To solve either increase the size of your bounding box within your player model or increase it in script. The script reference can be found inside player.cs within the main player datablock.

E.g.
datablock PlayerData(PlayerBody)
{
...
...   
   boundingBox = "0.6 1.0 1.4";
...
...
}
#2
05/09/2006 (9:35 am)
Thanks alot, that was a pretty easy fix.