NVIDIA/Dataset_Synthesizer

collision with other objects

banannakn opened this issue · 4 comments

I would like to randomly move several objects in one room. This works fine so far, but now I try to figure out how these figures don't overlap. I already tried lots of collision options but I didn't managed to finde the right configuration.

Unreal engine version: 4.22.3
Issue: Objects are overlapping and colliding
Hi Guys, I have met the same issue as @banannakn , where I want to make the objects in the area to step onto each other (it is like a random stacking of real objects here https://images.app.goo.gl/osXBQRXM794jX6ZbA).

But it is still going through. Do you know how to make it work?

*FYI, I have tried to add physics constraint with disable collision here https://docs.unrealengine.com/en-US/BlueprintAPI/Physics/Components/PhysicsConstraint/SetDisableCollision/index.html, checked the checkCollision in RandomMovement component, set the spawn collision handling in Actor, enable Simulate physics, enable/disable "can character step up on" and set collision presets to no collision.

Thanks in advance~
*courtesy of poseCNN for the objects
ask

I have the same problem where objects are overlapping. Have you figured out how to fix this?

Hi @cksdn4872 , yes I have, by check the "simulate physics" in the properties of your object instance :)

yea, I had that working for "falling things", but for domain randomization, allowing "simulate physics" seems to break the code. I think its because all the movement makes it fly away or something. I guess, for domain randomization, its allowed to be overlapping.