Page MenuHome

Issue in changing Radar Sensor Parameters with python dynamically
Closed, ArchivedPublic

Description

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"]
radar.distance=30

Error:
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) lowered the priority of this task from 90 to Low.Sep 30 2018, 3:59 AM
Aaron Carlisle (Blendify) changed the task status from Unknown Status to Unknown Status.Jun 29 2019, 2:15 AM

This task is being closed because the BGE has been removed in Blender 2.8.