Skip to content
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

Fix respawn part of BananaLogic #2277

Merged
merged 2 commits into from
Jul 18, 2019
Merged

Fix respawn part of BananaLogic #2277

merged 2 commits into from
Jul 18, 2019

Conversation

LuoYouRen
Copy link
Contributor

Fix the bug of "respawn" part that cause all the banana respawn in the first Area.

Fix the bug of "respawn" part that cause all the banana respawn in the first Area.
@CLAassistant
Copy link

CLAassistant commented Jul 17, 2019

CLA assistant check
All committers have signed the CLA.

@ervteng
Copy link
Contributor

ervteng commented Jul 18, 2019

I can confirm that this does fix VisualBanana. However, it breaks the regular Banana scene - all of the bananas will fall through the ground.

I think if you remove the transform.position.y from that sum it will work for both scenes.

@ervteng ervteng self-assigned this Jul 18, 2019
previous commit will break regular Banana scene
remove the "transform.position.y" to fix the bug
@LuoYouRen
Copy link
Contributor Author

I can confirm that this does fix VisualBanana. However, it breaks the regular Banana scene - all of the bananas will fall through the ground.

I think if you remove the transform.position.y from that sum it will work for both scenes.

That's right. I just fixed it and committed. Is that OK?

@ervteng ervteng self-requested a review July 18, 2019 18:20
@ervteng ervteng merged commit f564030 into Unity-Technologies:develop Jul 18, 2019
mantasp added a commit that referenced this pull request Jul 22, 2019
* develop: (69 commits)
  Add different types of visual encoder (nature cnn/resnet)
  Make SubprocessEnvManager take asynchronous steps (#2265)
  update mypy version
  one more unused
  remove unused variables
  Fix respawn part of BananaLogic (#2277)
  fix whitespace and line breaks
  remove codacy (#2287)
  Ported documentation from other branch
  tennis reset parameter implementation ported over
  Fixed the default value to match the value in the docs
  two soccer reset parameter implementation ported over
  3D ball reset parameter implementation ported over
  3D ball reset parameter implementation ported over
  Relax the cloudpickle version restriction (#2279)
  Fix get_value_estimate and buffer append (#2276)
  fix lint checks
  Add Unity command line arguments
  Swap 0 set and reward buffer append (#2273)
  GAIL and Pretraining (#2118)
  ...
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 18, 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.

None yet

3 participants