Dataset_Synthesizer icon indicating copy to clipboard operation
Dataset_Synthesizer copied to clipboard

collision with other objects

Open banannakn opened this issue 6 years ago • 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.

banannakn avatar Nov 13 '19 09:11 banannakn

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

briliantnugraha avatar Nov 23 '19 09:11 briliantnugraha

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

cksdn4872 avatar Apr 12 '20 16:04 cksdn4872

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

briliantnugraha avatar Apr 13 '20 10:04 briliantnugraha

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.

cksdn4872 avatar Apr 14 '20 01:04 cksdn4872