Jorkdekok1 / CAR-system-Neurophysiology

0 stars 0 forks source link

Statemachines (Rotation) #6

Closed Jorkdekok1 closed 7 months ago

Jorkdekok1 commented 7 months ago

To elicit the different manipulation of the visual cues I trying to develop different methods to elicit movement, which for example could also be used to elicit teleportation.

So far, I am rotating an object only when the animal is in relatively close proximity with the following script. I am not happy with it yet as the rotation is controlled by range animation, however I want the rotation to start at the most recent rotation value and then increase its value. In this script python node after the agent position provides output if the animal is near the object (T or F) and the second python node provides contains logic, if the animal is near then the range animation is put through to the rotationY of the object.

https://github.com/Jorkdekok1/CAR-system-Neurophysiology/assets/126770475/02ce4595-f8f7-4d84-9610-e24871633dc9

Image