Turning off weapon render in first person
by Derk Adams · in Torque Game Engine · 11/16/2004 (11:31 am) · 3 replies
Greetings,
Well the title kind of says it all. How can I turn of weapon rendering in first person? Either script or engine will work for me since I want it disabled for all objects.
Thanks.
Well the title kind of says it all. How can I turn of weapon rendering in first person? Either script or engine will work for me since I want it disabled for all objects.
Thanks.
About the author
#2
Nope. I have multiple weapons mounted on the player and the projectile fires from eye offset position (which is "0 0 0" for all my weapons). If I move them off the screen, the projectile comes from that off-screen position. Not good.
Thanks.
11/16/2004 (11:59 am)
Josh,Nope. I have multiple weapons mounted on the player and the projectile fires from eye offset position (which is "0 0 0" for all my weapons). If I move them off the screen, the projectile comes from that off-screen position. Not good.
Thanks.
#3
Found my answer by accident. It turns out that the preference $pref::Player::renderMyItems controls the first person rendering of items. Just set it to 0 (in two places).
Thanks.
11/18/2004 (9:01 am)
Greetings,Found my answer by accident. It turns out that the preference $pref::Player::renderMyItems controls the first person rendering of items. Just set it to 0 (in two places).
Thanks.
Torque Owner Josh Moore