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"

Not simulating/Teleporting/Floating particles with Apex Destruction

Tinkered with settings, physics, searched for this issue posted elsewhere but no luck. The issue is that when I hit a destructible mesh with a projectile (impact causes destruction) I get a couple of floating pieces which after 3-4 seconds teleport to the ground or continue staying in the air. Other pieces simulate realistically. What I am hitting the destructible meshes with is a cube, which has projectile movement. The only thing I could think of but haven't tried is reverting to an older engine version but I doubt it will work. Thank you.

Product Version: UE 4.21
Tags:
more ▼

asked Mar 13 '19 at 08:05 PM in Using UE4

avatar image

BigPipiChicken
10 1 1 4

avatar image Crowley Caine Mar 13 '19 at 08:32 PM

Do you fracture the mesh or import chunks?

avatar image BigPipiChicken Mar 14 '19 at 02:16 PM

I fracture it inside the engine/editor itself. Right click--> create DM

avatar image BigPipiChicken Mar 14 '19 at 02:22 PM

Then I enable Impact damage, otherwise the cube wouldn't fracture it. Also when impact damage is disabled, and use damage from a radial force(i enabled damage to DM in the radial force options), in order to exceed the damage threshold, the same issue still persisted. But right now I am trying to do it with impact damage.

avatar image Crowley Caine Mar 14 '19 at 06:10 PM

Never had this happen myself but seems like a physics issue. May I see the asset in question?

avatar image BigPipiChicken Mar 14 '19 at 09:43 PM

IThis is a box from the geometry tab, modified and converted to a static mesh using the built in function for that in the engine This is a box from the geometry tab, modified and converted to a static mesh using the built in function for that in the engine "create static mesh". Then converted to a destructible mesh. Even with default values in the impact damage section it is buggy.

capture.jpg (138.5 kB)
avatar image Crowley Caine Mar 14 '19 at 09:48 PM

Well that complicates matters. I don't know how the geometry brush appears in terms of mesh attributes when converted to static. Was hoping it was a simple model where you'd forgotten to combine or some such.

Either way, why do you need to use this geometry? Starter content has cubes and shapes that are already static meshes. Try fracturing those and see if they have the same issue. Honestly I can't really think of a reason why you'd need to create a static from geometry instead of using self made or existing starter content mesh.

avatar image BigPipiChicken Mar 17 '19 at 02:42 PM

Thank you very much for helping and I am very sorry for being away for a while, despite you giving your input on the matter. I really do appreciate it.

I decided on using geometry because I had already created some assets with it (when I posted the question) like windows, floors, roofs and such. I actually gave up on trying to solve the issue with impact and switched back to damage destruction. And I sorta got it working without floating stuff. Now I would like to know how I can set mass for destructible meshes when they have been "woken up" (started simulating physics), because at the moment when I have a partially destroyed wall my character can toss it around like a ball. I tried mass scaling (located in the details panel on the bottom right) but it doesn't work. If you don't know, it is alright. I am gonna post this as a seperate question on the Answer Hub in this case. Otherwise, if you have an idea I am willing to work with it.

avatar image Crowley Caine Mar 17 '19 at 02:45 PM

That would be linear and angular damping that prevents them from flying off like mad. I have a skeleton that I break into its bone pieces and I found that with that particular mesh linear damping of 1.1 and angular damping of 0.4 worked very well.

Linear damping means how fast it slows down movement in x,y,z and angular damping is how fast it slows down rotation. Just gotta try out some values to find what you want.

I also have a method of using my weapons to destroy destructibles and setting the impulse power based on the attack.

avatar image BigPipiChicken Mar 17 '19 at 02:52 PM

Yes, pieces now fly off, fall and rotate slower, which makes them look like they have some mass behind them. But I can still kick my partially destructed wall around. I already decreased my character's mass; not sure if I should make more configurations inside the CharacterMovement component cuz decreasing mass didn't do anything.

avatar image Crowley Caine Mar 17 '19 at 02:55 PM

Could be some collision fighting there that can build up energy and send them flying. What are you actually trying to accomplish though in terms of movement of destroyed mesh? Do you want it to be completely dead when it hits the ground, ie you character can not move them at all, or just make them have more weight?

avatar image BigPipiChicken Mar 17 '19 at 03:03 PM

Just make them have more weight. I just did some modifications to the values in CharacterMovement in the "PushForce" sections but still no success.

avatar image Crowley Caine Mar 17 '19 at 03:08 PM

So here's an example: https://youtu.be/-aL8owXvG9g

Something like this?

avatar image BigPipiChicken Mar 17 '19 at 03:17 PM

That's dope :D . However, the problem I have is that i can kick around a big partially destructed wall. I am gonna record a video so it is more clear to you.

avatar image BigPipiChicken Mar 17 '19 at 03:30 PM
avatar image Crowley Caine Mar 17 '19 at 03:50 PM

Ooooh hahaha :)

Yeah you're gonna want to build that out of separate destructibles. There may be a way to have the remaining mesh stay solid but I don't know how I'm afraid. Hopefully someone else will pick up this thread for you.

My guess would be impact damage depth.

avatar image BigPipiChicken Mar 17 '19 at 03:58 PM

Thanks anyway, bro! By the way, it is built out of seperate destructibles, it's just that i have set Support Depth to 20 and "Form extended structures" to true, so that I can have more realistic simulations. I am gonna play around with settings more and see if I am going to post this as a seperate question. Also I liked your idea of making the remaining mesh stay solid. I am gonna work on that.

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

1 answer: sort voted first

I DID IT!!! All I had to do was disable collision for any part of my third person character except for the CapsuleCapsule Component. Then adjust push force and mass numbers as needed!!!! I may do a tutorial on creating realistic interactive destructible building parts maybe :))))

more ▼

answered Mar 17 '19 at 05:30 PM

avatar image

BigPipiChicken
10 1 1 4

avatar image Crowley Caine Mar 17 '19 at 05:50 PM

That's great! Personally I only use physics collision on my mesh and set it to ragdoll, but if it works, it works. Glad you got this fixed!

(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