I'm trying to make an object containing another one, the whole thing simulating physics. In details, actually my test is a box made of a bottom (simulating physics) and a lid. Both the background and the lid can be held by the user too (in VR). I've put some limitations so that only the bottom can be manipulated while the box is close, and the lid only once the whole box is held in one hand.
My pbolem is that the lid is added as a child actor component in the blueprint (so that it can be manipulated), and attached to the bottom of the box. When simulating physics, if the lid does not simulate, the actor starts to fly and goes completely wrong. If the lid simulates physics, both parts fall on the ground - react well to physics, but are not attached together. What is the best way to achieve such an actor ? The aim is to be able to move around the box, open/close it, and even spawn some actors inside when opened (moving simulating bodies inside such a box is a mess in VR).
Thanks a lot for your help !
Apr 09 '19 at 01:32 PM
in Using UE4