Game Development Community

Player Models and 1st Person View

by Andy Hodges · in Torque Game Engine Advanced · 12/25/2006 (12:56 am) · 5 replies

I don't know if anyone else ran into this problem, but I'm using a set of Player models which we purchased, bu the hands are just hanging down without touching the weapon. If I look DOWN, I see my feet, and my hands hanging away from the gun.

Anyway to fix this? I even tried things like renderFirstPerson = true in Player.cs but that does nothing in TSE.

#1
12/25/2006 (3:55 am)
Commenting out the line
eyeOffset = "whatever";
in the weapons script should do it.
#2
12/25/2006 (4:42 am)
Hands will always float as long as the modeller did not align the hands to be positioned in first person.
#3
12/25/2006 (9:34 am)
Commenting out the "eyeOffset = "whatever";" worked! The only problem I have now is that the weapon itself doesn't render properly. It has some transparencies in it. Anyway to fix that?
#4
12/26/2006 (9:26 am)
Removing the "eyeoffset" allows the weapon to fit in the player's hands while in-game. However, this also have another problem for TSE. The screenshot below shows the un-rendered gun, and it's too high. I did try the "RenderFirstPerson" to True, didn't work. Any ideas?

download.LostColonyGame.com/gun.jpg
#5
12/26/2006 (11:59 am)
There is offset and eyeOffset values.

eyeOffset should be first person
offset should be able to be used for the 3rd person (adjusting to hand location etc)