Game Development Community

Third person camera not working

by Michael Lucas · in Artist Corner · 11/12/2007 (9:48 pm) · 0 replies

I'm using max2dtsexportpro and max v8. I'm importing a character into Torque. Everything's coming across, animations, textures, and so on, except the third person camera. I noticed another post on this, and I tried 11 different variations, including adding:

-Param::CollapseTransforms

to dtsscene.cfg

I tried including the cam node inside the bounding box, and recreating the cam node, and rotating the cam node, but nothing works. At one point I had the third person camera at the model's knees and facing the model, but that is as close as I've gotten to anything.

Here are the cam references in the dump file:


Always export node: "cam"
.
.
.
Processing Node cam with parent start01
.
.
.
Adding node "cam" with parent "start01" to subtree rooted on node "base01".
.
.
.
Adding node rotation at time 0.000000 for node "cam".
rotation: x=0.00000, y=0.00000, z=1.00000, w=-0.00000
.
.
.
Adding node translation at time 0.000000 for node "cam".
translation: x=-13.06920, y=-9.88992, z=2.53144

... and it's also listed in the shape hierarchy.

Here is my dtsscene.cfg file:

AlwaysExport:
eye
mount0
cam

NeverExport:

NeverAnimate:

-Param::CollapseTransforms

Here is a screenshot of my scene hierarchy:

http://img208.imageshack.us/img208/9030/screenshotofscenehierarmv5.jpg