coneTarget
coneTarget
Returns the center of the bottom face of the radar cone.
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 cone target
coneTarget = radar.coneTarget
|