Game Development Community

Player bounds/collision alignment problem...

by Jack Stone · in Artist Corner · 09/15/2006 (9:24 pm) · 2 replies

Im not 100% sure if this is the right forum for this, but I'm pretty sure its a modelling issue, so I'll put it here.
I just exported my first player character model with DSQ animation, and it turned out to be a lot easier than I was expecting, until I ran it in game.
It works fine in show tool, animation plays, all the rest.
I ran it in game, and the model itself, plus the animations, are fine, but the model is underground.
I switched to the mission editor, and I could see the bounds box/collision mesh (The thing that you click on to select the model) is above and to the right of the player. So that when the bounds box is in contact with the ground, the player is actually underground.
I tried deleting the bounds box, resetting pivots, everything I could think of, made no difference.
I tried adding the player as a static shape, and the bounds box was perfectly aligned, so Im assuming its not the kind of problem you use the "box trick" for. (I had scaled my model down in max)
As I said, my root animation is playing, and my eye and cam nodes are correctly aligned to the model, its just that the model itself is not inside its bounds box.
I understand that for players, the bounding box is generated from the origin of the bounds box, and sized according to the parameter in the cs file. According to that, my bounds box's origin must be above my player model, but I checked, and it is not.
I realise this isnt a very good description of the problem, but I hope someone will have encountered this before, and have some advice on it.
Btw, I made my model in max, used my own bones rig, and am using TSE 3.5.

Thanks,
JS

#1
09/16/2006 (12:27 am)
You deleted the bounds box and it made no difference? That doesnt make sense.
Is that the new exporter or the regular one?
#2
09/16/2006 (6:15 am)
I didnt know there was a new exporter, so I searched, and found this: http://tdn.garagegames.com/wiki/DTS/3dsmax/Downloading_and_Installing_the_Exporter
and got the same error.
I deleted and readded the bounds box, clicked in "Affect pivot only" in the panel to the right, and reset that so the character is facing down the Y axis, and the pivot is located at his feet.
Doesnt seem to make a difference at all. I tried moving, rotating the pivot point, and the player is still underground. It seems also that he is facing backwards.
I took a screenshot of the problem, if it helps:

[image] http://img.villagephotos.com/p/2006-3/1162529/boundsproblem.JPG [/image]
JS