x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How to make rubble (with physics)?

Hi all,

I'd like to make some rubble with physics for my game. I've already successfully made it with blender, but after importing it to UE4, it's all one big object with no physics. It looks like this: alt text

I essentially just want to make this, but give it (or at least some peices) individual collision and physics.

This can easily be done with a destructible mesh but I'm not so sure how.

Product Version: Not Selected
Tags:
capture.png (244.6 kB)
more ▼

asked Feb 09 '15 at 08:31 PM in Using UE4

avatar image

ShrewGlue
419 97 83 106

avatar image [Epic]Ori Cohen STAFF Feb 09 '15 at 09:11 PM

Once in the destructible mesh you can also import an FBX so if you're really happy with your custom mesh you can use it and APEX will automatically treat it as destruction chunks.

avatar image Tim Hobson ♦♦ STAFF Feb 10 '15 at 01:12 AM

Just to add to what Ori suggested, take a look at this mini-tutorial I did for FBX Chunks a couple of weeks ago.

https://forums.unrealengine.com/showthread.php?56777-Photons-Be-Free-Mini-tutorials-and-other-curiosities&p=207604&viewfull=1#post207604

It's one of my favorite features with destructibles and is really easy to use while allowing you to get some cool results with a lot of control for your mesh.

If you have any questions setting it up or need help in general feel free to ask.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

This may be useful for your case: https://docs.unrealengine.com/latest/INT/Engine/UI/LevelEditor/InEditorTesting/KeepSimulationChanges/index.html

Create a destructible cube or whichever mesh you like in content browser > Put it in the level > Add Impulse(small enough to just break the cube) in level BP to explode the mesh > Keep Simulation Changes. I havent tried this myself but this should work i think.

more ▼

answered Feb 09 '15 at 08:48 PM

avatar image

Jacky
16.7k 671 167 674

avatar image ShrewGlue Feb 10 '15 at 12:34 AM

I tried this but I need to break the mesh first to put the chunks where I want them to.

Is it possible to have them start in that position>?

avatar image Jacky Feb 10 '15 at 12:38 AM

Yeah, you need to break it first with an impulse then wait for it to settle into a rubble, and then keep changes if it looks like you would expect. If not, change its rotation or impulse amount, etc. to break it again and get a different looking rumble. What Ori suggested should work as well, i had forgotten that we could import custom made chunks in destructible mesh editor.

avatar image ShrewGlue Feb 10 '15 at 02:00 AM

Can you explain to me what I'm doing wrong? Here's an album showing what's happening: http://imgur.com/a/fCZVF

avatar image Tim Hobson ♦♦ STAFF Feb 10 '15 at 03:22 PM

Looking at your album that is working as intended. If you have a base mesh , in this instance your wall, that is setup with your FBX chunks and you destroy the wall while the game is running the simulation will revert back when you stop the game.

The simulation may be slightly different every time and not result in the objects always being in the same place.

If you need a setup like that it may be better solution to import several chunks as static meshes and set them to a collision type of Physics Actor. You can place them in your scene in the position you want them to be and when a player or other object collides with them they will move. This is similar to the white physics cubes in the first person template.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question