coneOrigin
coneOrigin
Returns the origin of radar with which to test.
Return type: list [ x, y, z]
Sample
Code
# get the controller.
controller = GameLogic.getCurrentController()
# get the Radar sensor attached to the controller named
GuardDuty
radar = controller.sensors["GuardDuty"]
# get radar cone origin
coneOrigin = radar.coneOrigin
|