Skip to content

store hit GameObject in raycast output #4111

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 12, 2020
Merged

store hit GameObject in raycast output #4111

merged 4 commits into from
Jun 12, 2020

Conversation

chriselion
Copy link
Contributor

@chriselion chriselion commented Jun 11, 2020

Proposed change(s)

Requested in linked issue. The original request was for the Collider, but GameObject is a lot more convenient, because 2D and 3D casts use a different collider type (Collider vs Collider2D). Users should be able to get the type that they want from the GameObject.

Useful links (Github issues, JIRA tickets, ML-Agents forum threads etc.)

https://jira.unity3d.com/browse/MLA-1075
#4018

Types of change(s)

  • Bug fix
  • New feature
  • Code refactor
  • Breaking change
  • Documentation update
  • Other (please describe)

Checklist

  • Added tests that prove my fix is effective or that my feature works
  • Updated the changelog (if applicable)
  • Updated the documentation (if applicable)
  • Updated the migration guide (if applicable)

Other comments

@chriselion chriselion merged commit 2dcbcb4 into master Jun 12, 2020
@delete-merged-branch delete-merged-branch bot deleted the rayoutput-gameobj branch June 12, 2020 16:56
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants