Hi.
I am trying to make a function which can return whether the two different box are collided in python file.
And if there is an collision, then I want to reset the scene.
I’ve referenced an example page of IsaacSim Python snippets, but it doesn’t work in my environment.
https://docs.omniverse.nvidia.com/app_isaacsim/app_isaacsim/reference_python_snippets.html#do-overlap-test
Is there any example or advice ?
Thank you.
Does the blue box contain a collision API element?
Overlap tests are the proper way of doing it, but the assets need to have a collision defined to them.
Yes, the blue box was also predefined as a collision property.
How can I make some code by using ‘Overlap test’ as you mentioned?
rgasoto
September 22, 2022, 5:59pm
5
Here’s the snippets for Overlap test: do-overlap-test
This thread also goes over some other considerations on collision check