Game Development Community

New character - Weapon Disappears?

by AndrewOsborne · in Artist Corner · 04/09/2007 (8:52 pm) · 7 replies

Hi All,

I have exported a character model into TGE using 3dsmax 8 - all works fine.

However when I am in 1st person view, looking up and down makes the weapon disappear? Has anyone experienced this before? Can you think of anything that may be causing this?

I have exported countless models and have never come across this

Thanks

Andrew


silhouette-studios.com.au/images/smalllogo.jpg

#1
04/10/2007 (12:54 am)
I've had this happen a few times with some models that I've found/bought. I never figured out what was causing it to happen, but I think it was a engine thing.
#2
04/10/2007 (11:37 am)
This happened to me. I havent found a solution
#3
04/10/2007 (1:35 pm)
Hi guys,

I seem to recall that this was a bounding box issue. Hopefully someone will correct me if I'm wrong (or provide some relevant links if I'm right. :) )
#4
04/10/2007 (4:55 pm)
I think so too, Aaron. I really think this is what casues the rendering to stop during certain portions of a sequence....

I 'think' that the mount0 node is leaving the bounding box during the animation. A quick way to check is to perhaps take the dataBlock and change the bounding box size to include the figure and animation[make it ridiculously large-don't try any doorways]; then see if it still disappears during the offending animation.

...or alter your 'look' sequence or whatever sequence is causing the render to null out...to NOT have the NODEs exit the bounding box. Try that. Report back your findings...:)!
#5
04/25/2007 (6:57 am)
The last time this happened to me was yesterday with my M4.

When I made the model and placed the nodes, I realized I forgot to scale down the model so it fits in my player's hand. When I did this, I forgot to place the nodes back where they should have been...Everything looked fine in first person view, until I looked down about 30 degrees and it would disappear. In third person, the gun was WAY out in front of him; not right. Just makes sure your nodes are where they should be.
#6
08/12/2007 (8:11 pm)
The problem is in the Player.cs file, you need to increase the size of the boundingBox
#7
08/13/2007 (11:01 am)
@AndrewOsborne - Is it just the weapon model that disappears or the entire first person character model (assuming you have the player model enabled in first person)?

The problem we ran into was that looking up or down would cause the player model to disappear when in first person.

The reason it happened was because the "eye" node was moving outside the players bounding box when animated. If the eye point is moved outside of the bounding box then the player is not in the camera view and the player is culled from rendering.

The fix is to carefully check your eye point position during up/down looking animations to be sure your not moving it outside of the bounds.