Topic: setCurrentBehavior
Hello, I would want to question about setCurrentBehavior.
When I set my robot to look at the person when he is in range of the robots sensor (a cylinder) it doesn't look that way.
This is my script:
if isCollisionBetween(player,sensor) then
setBehaviorVariable(robot, 0, "target", "player")
end