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"

Destructible meshes message "trying to simulate physics, but no physics body"

All the destructible meshes I've created are working as they are supposed to. I shoot the object and it fractures into smaller pieces.

However, they all return the warning message: Trying to simulate physics on " /.../.../chair.Destructible " but no physics body."

I tried custom collision settings and turned OFF Ignore Physics body, but that didn't work.

Anyone have any advice?

Product Version: Not Selected
Tags:
more ▼

asked Dec 20 '14 at 12:23 AM in Using UE4

avatar image

dhend
51 2 3 3

avatar image Pierdek Dec 20 '14 at 08:21 AM

Which engine version?

avatar image Tim Hobson ♦♦ STAFF Dec 22 '14 at 03:46 PM

Hi dhend,

I cannot recall seeing this error before. Are you setting your DMs up in a specific way with BPs, or using them in anyway that would generate this message?

For example, If you create a DM in the editor, set the Impact Damage to 1, Impact Damage Depth to 0 and place the DM above the ground in your scene.

In the details panel set it to Simulate Physics and then PIE. When it collides with the ground do you get the same issue when it fractures?

If this is DM specific would you mind attaching it here and I can take a look and see if there is anything I can offer some tips with.

Please feel free to post any screen shots as well to better illustrate what is happening.

Thank you!

Tim

avatar image dhend Dec 24 '14 at 12:38 AM

Thanks Tim,

I did create a destructible cube, per your instructions, let it drop to the floor, and it shattered, but got NO warning message.

However when I put this same destructible mesh cube in a BLUEPRINT, it fractures when shot (see screen grab #1) but I get the warning message "no physics body." (see screen grab #2)

I didn't mention this in my original question, but the destructible objects that were giving warning messages were a components of blueprints.

I guess the warning message comes from something in the the BLUEPRINT somewhere. Thanks.

I've attached all the assets associated with this destructible mesh cube/Blueprint.

DH

link textI am using Version: 4.6.0-0+UE4

avatar image Tim Hobson ♦♦ STAFF Dec 24 '14 at 03:12 PM

Thanks for providing the assets for testing. I was able to get these in 4.6, but the Blueprint that's causing the issue would not open on my end. It says it's derived from an invalid class. :/

I'm still not able to see this issue though. I created a BP by right clicking on the DM > Asset Actions > Create BP using this... with no such warning. I also created a blank BP and added the DM as a component with no issue.

Are these the methods you're using to create the BP?

Also, if you're not tried already, can you try this in a new project and see if this throws the same warning. You won't need to set up the weapon or anything if you use a blank project. Just have the object simulate physics and on impact destroy.

Thanks!

Tim

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

4 answers: sort voted first

No problem. Yes, I was using the wrong parent class, (ShootablePhysicsObject) I think it is a class internal to this studio. It is for objects that when shot, bounce around and not shatter into a bunch of pieces. Thanks, again.

more ▼

answered Jan 12 '15 at 10:29 PM

avatar image

dhend
51 2 3 3

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

Hey Dhend,

I've not heard back from you in about 5 days. I'm going to mark this as resolved for our tracking purposes, but if you're still having the issue feel free to post and I'll look into this further.

Thank you!

Tim

more ▼

answered Dec 29 '14 at 06:36 PM

avatar image

Tim Hobson ♦♦ STAFF
48.8k 888 103 878

avatar image dhend Dec 29 '14 at 06:56 PM

Uh, not yet. The holidays have interrupted things a bit. I will try your recommendations.

As for the Blueprint. I got it from another guy. I'll check with him about how he set it up. (I used his blueprint and added my Destructible Mesh objects.)

Again, I'll try what you recommended and let you know what happens.

Thanks Tim.

DH

avatar image Tim Hobson ♦♦ STAFF Dec 29 '14 at 09:22 PM

No problem!

Thanks for giving me an update. :)

Tim

avatar image Tim Hobson ♦♦ STAFF Jan 12 '15 at 10:04 PM

Hey Dhend,

I think AnswerHub inadvertently deleted your post when I tried to convert it to the answer.

Apologies for that.

Essentially the solution was that the wrong class was being used for your DM, correct?

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

Yes. A wrong parent class was used. I think it is internal to our studio. It was for objects that once shot, bounce around and not shatter, like a destructible mesh, which is what I was trying to do.

more ▼

answered Jan 13 '15 at 07:22 PM

avatar image

dhend
51 2 3 3

(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