edbeeching / godot_rl_agents

An Open Source package that allows video game creators, AI researchers and hobbyists the opportunity to learn complex behaviors for their Non Player Characters or agents
MIT License
902 stars 63 forks source link

[Idea] Relative position/state sensor #177

Open Ivan-267 opened 6 months ago

Ivan-267 commented 6 months ago

Note: The exact features of the sensor and whether to implement it is yet to be determined, it's just an idea at this point.

The most basic functionality would include adding a relative position vector from an object to an object that is clipped at some distance and normalized.

Some possible additions to the basic idea (not all would necessarily be added):

The name for the state sensor is inspired by https://huggingface.co/docs/simulate/main/api/sensors#simulate.StateSensor, although I'm not familiar with the exact features or implementation of the sensor in Simulate.