Page 1 of 1

Is there any properties defined by angle as a switch?

Posted: 2011-01-09 10:23
by velosong
i need a switch, which can stat effect when i pull up the aircraft.

I have found some properties as a switch,like:

ObjectTemplate.setGearDownHeight
or
ObjectTemplate.AlphaIntensityFromSpeed

but, Not the angle makes it work.
Is there any properties defined by angle as a switch?

Re: Is there any properties defined by angle as a switch?

Posted: 2011-01-09 10:28
by Rhino
what do you want to do?

Re: Is there any properties defined by angle as a switch?

Posted: 2011-01-09 10:44
by velosong
[R-DEV]Rhino wrote:what do you want to do?
i try to add Strake wing vortices to the aircraft,

Especially to the F/A-18

I have made the effect file (e_Strake_vortex) , it works on the aircraft ,
but, since i use the property
"ObjectTemplate.AlphaIntensityFromRotationalSpeed" in e_Strake_vortex, it works when both rolling and pitching.

so , i have to define the e_Strake_vortex works only in pitch behavior .
if there is a code like above, defined by angle on X axis, not just the RotationalSpeed, i can stop the effect work in rolling

Re: Is there any properties defined by angle as a switch?

Posted: 2011-01-09 10:58
by Rhino
I dont believe there is such a bit of code that would trigger an effect no.