Page 1 of 1

facing condition fixed

PostPosted: Tue May 13, 2008 8:59 am
by D'Lanor
I fixed the facing condition in the simpleclick quickscript.

Can someone review revision 163 in my SVN contrib folder? I forgot to add comments when I committed it. :oops:

It appears this was working after all but all it required was setting a facing tolerance. The tolerance defaults to -1.0 (see alc_LogicClasses) which seems to break the facing condition. Now I am trying to find a good value for the tolerance. :)

The facing condition is also optional now. It is only set if the user specifies the "facevalue" (tolerance) parameter.


Edit: Testresults - Working values are between 0 and 1 (not exactly 0 or 1). Low values have a high tolerance angle. A value close to zero means that the angle is about 180 degrees, but the avatar is not allowed to face away from the clickable. 0.9 seems a useful general purpose value.

Re: facing condition fixed

PostPosted: Tue May 13, 2008 11:03 am
by Grogyan
yipee :D :D