Weapon vanishing question
by Minako · in Torque Game Engine · 08/10/2002 (6:13 pm) · 6 replies
We've got a weapon our little test guy holds, but in first person view when he looks up past a certain angle it disappears from view. Then if he keeps looking up further it eventually reappears. Anyone know why, or how to fix it?
Minako
Minako
#2
Thats good info to have and it fixed the problem I was working on.
05/12/2003 (9:17 am)
Joe -- Thanks!!!Thats good info to have and it fixed the problem I was working on.
#3
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=4116
under
Known Problems and Issues
05/12/2003 (9:46 am)
Hey could this be the problem with the turret code in first person view?www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=4116
under
Known Problems and Issues
#4
05/12/2003 (12:46 pm)
Definetly sounds like it. I'll tell paul about it.
#5
05/12/2003 (1:01 pm)
Does sound suspiciously like it. I created the turret in Milkshape and used it's automatic bounding box generation. I would be willing to lay money that the problem will go away if I make my own Collision mesh that is larger.
#6
05/13/2003 (12:05 pm)
Not the collision paul, but the bounds box
Torque Owner Joe Maruschak
You turn this on by typing:
$GameBase::boundingbox=true;
into the console. If the weapon goes outside the bounds, it will disappear. You can change this in the player.cs file (in server/scripts)
Look for the boundingBox in the playerData datablock.
I think this will fix your problem.