Game Development Community

Unable to render 1st person

by Sam Redfern · in Torque Game Engine · 08/09/2004 (4:26 am) · 1 replies

Hi.. I'm not sure if this is a bug, since I'm only using Torque for a week or two.
But it's driving me crazy and I'd hoped someone might be able to help!

I have an intermittent problem when rendering in 1st person mode: basically, nothing renders at all. The program hasn't crashed or anything, since the GUI components are still rendering.. also when I switch back to 3rd person mode it continues perfectly well again.

I have made some modifications to the engine, but only at the upper end of the class hierarchy (i.e. to the Item and Player classes). And I have bypassed the terrain render function (it's a space game).

The really weird thing is that the problem happens only sometimes. And how can it always be OK when in 3rd person mode? (surely the only difference is whether or not the player's avatar is rendered or not?)

Any advice would be welcome!

Sam.

#1
08/09/2004 (4:31 am)
First person rendering is for a mountedImage on the player class, and there is a bool for it in the player datablock.