Skip to content

Conversation

@StafaH
Copy link
Collaborator

@StafaH StafaH commented Jan 3, 2026

Fixes the ray hfield implementation by fixing the small errors in comparison to the engine impl. The current impl now follows the engine implementation strictly.

@kevinzakka
Copy link
Collaborator

HEAD

before_fix.mp4

This PR

after_fix.mp4

@thowell thowell merged commit 1c6b316 into google-deepmind:main Jan 3, 2026
13 of 16 checks passed
erikfrey pushed a commit that referenced this pull request Jan 5, 2026
* Add ray with normal (#940)

* Add ray with normal

* Ruff

* Propagate ray normal changes

* ruff

* Fix tuple type check

* Update ray to return -1 for non-hits

* Ray normal fixes (#960)

* Add ray with normal

* Ruff

* Propagate ray normal changes

* ruff

* Fix tuple type check

* Update ray to return -1 for non-hits

* Small fixes

* Ruff format

* Simplify assert for vec3

* Add comment and adjust docstring

* Fix bugs in ray hfield impl (#967)
erikfrey pushed a commit that referenced this pull request Jan 5, 2026
* Add ray with normal (#940)

* Add ray with normal

* Ruff

* Propagate ray normal changes

* ruff

* Fix tuple type check

* Update ray to return -1 for non-hits

* Ray normal fixes (#960)

* Add ray with normal

* Ruff

* Propagate ray normal changes

* ruff

* Fix tuple type check

* Update ray to return -1 for non-hits

* Small fixes

* Ruff format

* Simplify assert for vec3

* Add comment and adjust docstring

* Fix bugs in ray hfield impl (#967)

* clamp pair_friction with minmu (#969)

* add --kernel_cache_dir pytest flag for warp kernel cache (#968)

* fix _NCONMAX info (#965)

* reuse xnorm (#959)

* Expose rays through the public API. (#975)

---------

Co-authored-by: Taylor Howell <taylorhowell@google.com>
Co-authored-by: Kevin Zakka <kevinzakka@users.noreply.github.com>
@StafaH StafaH deleted the fix_ray_hfield branch January 14, 2026 06:21
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.

3 participants