Setting Weapon "eyeOffset" Property
by DavidRM · in Torque Game Engine · 06/26/2002 (3:48 pm) · 3 replies
Is there an easier way to adjust the "eyeOffset" property of a weapon's ShapeBaseImageData?
I've been doing it by hand, tweaking the vector one dimension at a time until it seems about right. It works...but it's tedious. Having done this several times now, I decided to just ask...
Am I missing something obvious here?
Thanks!
-David
Samu Games
datablock ShapeBaseImageData(RifleImage)
{
...
// Specify mount point & offset for 3rd person, and eye offset
// for first person rendering.
mountPoint = 0;
offset = "0 0 0";
eyeOffset = "0.1 0.2 -0.55";
...I've been doing it by hand, tweaking the vector one dimension at a time until it seems about right. It works...but it's tedious. Having done this several times now, I decided to just ask...
Am I missing something obvious here?
Thanks!
-David
Samu Games
#2
07/01/2002 (1:24 pm)
There isn't easy way that I know of, except that I do it all while the game is running by alt-tabing over to my editor, tweak the value, alt-tab back to the game and run exec("...script name"); Once I've typed in exec once, I just up-arrow to get it again, makes the turn around time on tweaks pretty fast :)
#3
Just 'cause I'm curious: I tweak in 0.1 increments, and fine-tune in 0.05 increments. You?
Thanks.
-David
Samu Games
07/01/2002 (1:46 pm)
Ok. So at least I'm not missing anything obvious... ;-)Just 'cause I'm curious: I tweak in 0.1 increments, and fine-tune in 0.05 increments. You?
Thanks.
-David
Samu Games
Torque Owner DavidRM
-David