Acorlett48
(Acorlett48)
January 14, 2012, 5:56pm
1
I am trying to make an altimeter in BGE.
I have an object named ‘needle’
‘needle’ has a property named ‘altim’
I wrote the python to access the value of ‘altim’ and change it according to the z position of ‘needle’
when I set the action actuator to set the frame to ‘altim’ it doesn’t change the frame
any tips or tricks to get the action actuator to accept this property and set the frame as needed?
HG1
(HG1)
January 15, 2012, 5:05am
2
To actualize the property action actuator every frame, you must enable the true puls on the always sensor.
Acorlett48
(Acorlett48)
January 15, 2012, 12:15pm
3
Hey thanks! I figured it out last night. The console really helps in these situations to see how many time the script is getting called. Great intro to python scripting and property editing though!