Skip to content

Conversation

GrahamZen
Copy link
Contributor

@GrahamZen GrahamZen commented Jul 11, 2025

Description

Fixed box-box collision by computing the normal with the closest point instead of the center of the box A when computing the distance.

Before your PR is "Ready for review"

  • All commits are signed-off to indicate that your contribution adheres to the Developer Certificate of Origin requirements
  • Necessary tests have been added
  • Documentation is up-to-date
  • Auto-generated files modified by compiling Warp and building the documentation have been updated (e.g. __init__.pyi, functions.rst)
  • Code passes formatting and linting checks with pre-commit run -a

@GrahamZen GrahamZen marked this pull request as draft July 11, 2025 08:31
@GrahamZen GrahamZen marked this pull request as ready for review July 11, 2025 08:32
@shi-eric shi-eric requested review from eric-heiden and AnkaChan July 11, 2025 14:33
@shi-eric
Copy link
Contributor

Can you fix the DCO issue and also open a pull request into Newton, where a similar issue probably exists?

@GrahamZen GrahamZen force-pushed the box-box-collision-2025-7-11 branch from ca2c832 to 762f6e3 Compare July 13, 2025 03:27
Signed-off-by: Zhenggehan <gehan.zheng@vanderbilt.edu>
(cherry picked from commit 762f6e3)
Signed-off-by: Zhenggehan <gehan.zheng@vanderbilt.edu>
(cherry picked from commit 7f4c171dac19c0b0a1c454abb41b2a90af555d45)
@GrahamZen GrahamZen force-pushed the box-box-collision-2025-7-11 branch from d941a63 to 5d93b75 Compare July 13, 2025 04:00
@GrahamZen
Copy link
Contributor Author

I've fixed it and have opened a pull request for Newton.

@shi-eric
Copy link
Contributor

I've fixed it and have opened a pull request for Newton.

Thank you! Since Eric reviewed and merged it into Newton, I'll get your fix into Warp this week. Please remind me if I forget...

@shi-eric shi-eric added this to the 1.8.1 milestone Jul 14, 2025
@shi-eric
Copy link
Contributor

Okay, this is now merged!

5d93b75
74cac74

This pull request didn't automatically close because I didn't include the merge commit since it wasn't needed, but your commits are in main. Thanks for your contribution.

@shi-eric shi-eric closed this Jul 14, 2025
pull bot pushed a commit to mcx/warp that referenced this pull request Jul 14, 2025
fix box-box collision (NVIDIAGH-839)

See merge request omniverse/warp!1444
pull bot pushed a commit to mcx/warp that referenced this pull request Jul 14, 2025
Signed-off-by: Eric Shi <ershi@nvidia.com>
pull bot pushed a commit to mcx/warp that referenced this pull request Jul 14, 2025
Add a missing changelog entry for NVIDIAGH-839

See merge request omniverse/warp!1446
@GrahamZen GrahamZen deleted the box-box-collision-2025-7-11 branch July 15, 2025 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants