import-bot (20211) [Avatar] Offline
#1
[Originally posted by goranth]

The class Input sensor and its derived classes in the Book only sense AWT
inputs.

But I will "sense" inputs(object positions and rotations) returned from a call
to a simultaneously running simulation instead.

I would be thankful if somebody can give code example on how to integrate such
a functionality to the apps Actuators with code Actuators.java in the Book?

Best regards, Goran
import-bot (20211) [Avatar] Offline
#2
Re: Input sensors
[Originally posted by author]

All the event interfaces in the "control chain" (from input to actuator) are
exposed. You simply generate your own events anywhere in the control chain
that is convenient. In other words, anyone or anything can generate an event.
They don't have to originate from the InputSensor classes.

--jon

> The class Input sensor and its derived classes in the Book only sense AWT
> inputs.
>
> But I will "sense" inputs(object positions and rotations) returned from a call
> to a simultaneously running simulation instead.
>
> I would be thankful if somebody can give code example on how to integrate such
> a functionality to the apps Actuators with code Actuators.java in the Book?
>
> Best regards, Goran