Game Development Community

Disappearing Crossbow

by Aaron Moore · in Torque Game Engine · 06/02/2007 (10:08 am) · 2 replies

When I'm in first person view, if I look below the horizon the crossbow is there just fine. If I look above the horizon it disappears completely.

This is using my own character model that isn't fully finished. I have the crossbow mounted as it should. on a Mount0 bone in my character model. I'm just wondering if I'm missing some sort of setting or what? I haven't seen this problem show up on any threads so I'm starting one.

#1
06/02/2007 (10:17 am)
Common problem. The bounding box of your player is too small and thus the weapon is being clipped out of view.

Adjust these settings to the dimensions of your player object:
Inside of player.cs within the PlayerData datablock
boundingBox = "0.75 0.75 1.7";
#2
06/02/2007 (9:23 pm)
Thanks so much Tim! I knew it had to be something simple. Something I "think" is simple, ACTUALLY BEING simple just made my day. I tend to end up trying to do something "simple" and it takes all day. The numbers weren't quite right for me, but I think my model's a bit big. I ended up with "1 1 2.8" I intend to change the model later anyway though.