Page MenuHome

Issue in changing Radar Sensor Parameters with python dynamically
Open, Confirmed, LowPublic


System Information
Operating system and graphics card
Operating system: Windows 10 Home 64 bit
Graphics Card: Nvidia GTX 1080

Blender Version
Broken: 2.79 5bd8ac9
Worked: (optional)

Short description of error
Issue in changing Radar Sensor Parameters like distance, angle, axis with python, dynamically during runtime on Blender Game Engine

Exact steps for others to reproduce the error
Based on a (as simple as possible) attached .blend file with minimum amount of steps

Code Snippet:
import GameLogic
controller = GameLogic.getCurrentController()
radar = controller.sensors["Radar"]

AttributeError: attribute 'distance' of 'KX_RadarSensor' objects is not writable



Event Timeline

not sure if this could be considered a bug. See D951 also.

@Jorge Bernal (lordloki) : would you be interested in bringing this to blender now? Is is already implemented in UPBGE? Not sure if blenders bullet version already has the neccessary modifications?
Assigning to you for the time being, feel free to throw back at me though

It could be nice, if it is implemented as basic feature to blender game engine instead of all mods.

Aaron Carlisle (Blendify) triaged this task as Confirmed, Low priority.