3
$\begingroup$

In a script I try to get the coordinates of a head tracker and to change the current scenes camera. The script is wired as shown in this image:

enter image description here

Unfortunatly the script is only called once. How can I setup the Sensor/Controller to invoke it periodically (preferably after a frame has been rendered)?

$\endgroup$

2 Answers 2

6
$\begingroup$

You could use the delay sensor with the repeat setting checked: enter image description here

$\endgroup$
1
  • $\begingroup$ and the default delay is 60 per seconds, cool $\endgroup$
    – stacker
    Sep 1, 2013 at 16:59
6
$\begingroup$

I had to click the small button (highlighted) and set the frequency to 1.

The option is called bpy.types.Sensor.use_pulse_true_level

enter image description here

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .