Description

Physics isn't disabled on Destructible when Simulate Physics is set to Disabled. The Destructible seems to only be set to sleep and will wake if the player or any other physics object touches the destructible.

Since destructibles are technically skeletal meshes, it is expected for them to behavior in a similar fashion as a skeletal mesh (which do work as expected where the skeletal mesh's physics is completely disabled).

User Description:

There is a bug with destructible meshes when trying to disable physics simulation at runtime. It doesn't work as it should.

When trying the same with static meshes "Simulate Physics" is being properly disabled, and no collision nor wake up call will make the ball fall again.

My wild guess is that calling "Set Simulate Physics" on destructible component with false parameter just puts it to sleep instead of actually disabling physics simulation.

Steps to Reproduce
  1. Created a new Blank Blueprint project
  2. Enable Apex Destruction (Edit > Plugins) and restart the editor
  3. In the content browser locate the shapes folder (Content > Starter Content > Shapes)
  4. Create a destructible mesh from the Shape_Cube by right clicking it and selecting "Create Destructible Mesh"
    • Make sure to Select the Fracture Mesh button and check the Enable Impact Damage checkbox
  5. Create a new Blueprint based on Actor
  6. Open the BP and set it up so that pressing 'F' toggles physics (see screenshot BP.png[Image Removed])
    • Note the DM created from Shape_Cube was added as a component of the BP
  7. Click Class Defaults
  8. Under Input set Auto Receive Input to Player 0
  9. Compile the BP
  10. Drag the BP into the level so it is above the floor
  11. Select the DM in the Details panel for the BP and make sure Simulate Physics is enabled
  12. PIE
  13. (Before the cube hits the ground) Click in the viewport to gain focus and press the F-key to disable physics on the Destructible cube
  14. Once the cube is stopped in the air, walk into the cube with the character

Results: The Destructible (which had Physics disabled) will wake and fall to the ground

Expected: For Physics to have actually been disabled and the Destructible to act as a static object

Have Comments or More Details?

Head over to the existingAnswerHub thread and let us know what's up.

24
Login to Vote

Backlogged
ComponentPhysics - Destruction
Affects Versions4.13.24.14.24.164.20
CreatedJan 5, 2017
UpdatedFeb 1, 2019