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
942 stars 69 forks source link

feat: adding info - is_success #208

Open GianiStatie opened 7 hours ago

GianiStatie commented 7 hours ago

Adding the ability to pass game info to the Python code, specifically if a run is_success. This gives more info to the developer when a simulation ends and they want to know the outcome.

This MR links to:

And is blocked by:

GianiStatie commented 7 hours ago

For now I'll update the code to set info = None as default, if the environments do not support it yet.

I will open another issue to update the examples such that they return the correct value, once this and the linked MRs are merged.