Weapon looks odd in first person mode
by Dan Keller · in Torque Game Engine · 03/16/2007 (12:41 pm) · 9 replies
It looks fine in showtool, but in the game the perspective is kind of off. The front looks very small, and I can't even see the rear sight. It looks sort of long and skinny. The object isn't the problem, there's something about how it's drawn in first person mode that makes it look weird.
About the author
Recent Threads
#2
03/22/2007 (2:23 pm)
Is there any way to fix it?
#3
03/22/2007 (6:55 pm)
Try changing the position of the gun with the eyeOffset value. You can usually find a position that hides the perspective problem fairly well. Either that or scale your weapon slightly larger.
#4
03/25/2007 (7:55 pm)
Is there some variable I can expose to script that will let me change how the perspective is drawn?
#5
Unless you want to rewrite and fix a whole lot of (complicated) rendering code you're just going to have to live with it.
03/25/2007 (7:58 pm)
No. Unless you want to rewrite and fix a whole lot of (complicated) rendering code you're just going to have to live with it.
#6
03/25/2007 (8:18 pm)
You can create a larger gun and swap it out for the regular one when not in first peron. There is a resource on that. Works ok. Shadows are off thow :-(.
#7
03/27/2007 (6:01 am)
Use the eyeoffset value, change the values around and get it to the position you want, thats what i did.
#8
03/27/2007 (7:26 pm)
I've tried messing with eyeoffset and it doesn't help. Where is the code that controls how shapebaseimages are rendered?
#9
03/27/2007 (7:34 pm)
I think this is what you are after. www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=9846
Torque Owner Tim Heldna