Extending RayPerceptionSensor3D with extra information

Hi, i’m wondering whether there is any way to add extra information from gameobjects that are hit to the observations of the agent.

There’s not any way to do this in the current code; you could potentially write your own sensor that does something similar to RayPerceptionSensor3D but adds the extra data.

What information do you want to add? If it’s general enough, we can try to add it in a future version.

I want to add something akin to subtags, i would've done it by using a variable on the gameobject with another tag.

1 Like