Game Development Community

Anything similar to renderFirstPerson for mounted shapeBaseImage

by Benjamin Schneider · in Torque Game Engine · 03/26/2007 (2:35 pm) · 1 replies

Hi all,

I've searched the forums for this but so far haven't been able to find a definitive answer. Is there something similar to renderFirstPerson = false for mounted shapeBaseImages?

I'm working on a firefighting game and the self contained breathing apparatus (SCBA) is basically a facemask. To my knowledge, I can't just have this be part of the firefighter model as the firefighter needs to be able to take the SCBA on and off depending on the situation, so the player's renderFirstPerson state won't do.

I've mounted the SCBA with no problems. From a detached camera, it is aligned perfectly and looks quite good. In first person perspective, however, when you look up or down, you can see the frame of the SCBA - it obstructs the eye node view.

I'm aware of the eyenode offset but I'd really prefer not to have the player's eye change positions when they put on the SCBA.

Thanks for any guidance,

Ben

#1
03/28/2007 (3:49 pm)
Also, if anyone has any alternative approaches to suggest, that would be welcome.

Thanks,

Ben