Game Development Community

Eyenode not found

by Stephen Hagyard · in Torque Game Engine · 11/13/2005 (10:35 am) · 2 replies

I have loaded in my own model rather than rather than use an existing one, and when I use it I get the fatal message

"Trying to transform eyenode that does not exist in model"

Which stops the engine. I assume that it is a location in the model that the transform has an address. Where do I set the eye address so that the avatar can view it?

Thanks in advance.

In case you are wondering I have written all the code from pretty much scratch, so I can really grok the engine :->.

#1
11/14/2005 (7:34 am)
Your DTS shape, if used as a playerClass object, needs to have a Node named eye. Go back into your modeling application[whichever you're using, not stated], and create this Node and recompile/export the shape. It should work as a player now, I also believe that it also needs the orbiting death camera Node "cam" included or more fatal messaging.

I believe both are needed because they represent the Transforms of the 1st & 3rd Person cameras, and without those, well....you get the picture. You're asking the engine to do something it couldn't possibly do.
#2
11/14/2005 (5:50 pm)
I'm using milkshape - thanks for the help.