Skip to content

Adding Hoops support to RLViserRenderer and RocketSimEngine#89

Open
bpblakely wants to merge 2 commits into
RLGym:mainfrom
bpblakely:main
Open

Adding Hoops support to RLViserRenderer and RocketSimEngine#89
bpblakely wants to merge 2 commits into
RLGym:mainfrom
bpblakely:main

Conversation

@bpblakely

Copy link
Copy Markdown

RLViserRenderer is updated to allow hoops to be visualized. Boost locations taken from Rocket Sim

Updated the goal checking logic in RocketSimEngine to support hoops. Logic and constants taken from Rocket Sim


# Only works for soccar
gs.goal_scored = abs(gs.ball.position[1]) > GOAL_THRESHOLD
gs.goal_scored = self._get_goal_scored(gs.ball.position)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't we get this from rsim instead? I remember there where some callbacks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants