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"

[BUG] Static mesh collision stays after moved or destroyed

I am trying to move or destroy static meshes (and also BP containing static meshes) in my game. When it's moved (via set actor location, set actor transform or teleport) the object moves but there is a "ghost" collision from the old location. It is not updated. I tried to deactivate collision, move and reactivate but it doesn't change anything. Simulate physics also creates the same ghost collision sometimes. The "player collision" view mode in the editor shows that collisions are where they are supposed to be, but they aren't. My character has a strange collision reaction on the "ghosts": it trembles in small bounces... When I try to to destroy a static mesh it doesn't work at all. It is really annoying. I am using the Mac version 4.6.1.

Any idea to resolve this?

Product Version: Not Selected
Tags:
more ▼

asked Jan 13 '15 at 08:07 PM in Bug Reports

avatar image

ConcreteGames
71 4 11 15

avatar image Steve Hardister ♦♦ STAFF Jan 23 '15 at 10:26 PM

Hi Loeiz,

I am having difficulty recreating the issue on our end. Can you provide some simple, step by step repro steps so I can create the issue here in order to report this as a bug or offer a possible solution.

Thanks

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

1 answer: sort voted first

Hi Loeiz,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you

more ▼

answered Feb 03 '15 at 04:12 PM

avatar image Obiwankabg Jun 01 '16 at 12:55 PM

I get this all the time as well.

If I place a blueprint with a static mesh component, then destroy the instance of that blueprint that I've placed in the level, the mesh destroys but its collision remains.

Happens on multiple blueprint examples I've created.

I suspect this has to do with the fact that the static mesh component I am using in the blueprint has a component of its own. When I remove that component, the object deletes just fine. It's unfortunate that it won't with the sub-component, but at least I have a workaround.

avatar image Steve Hardister ♦♦ STAFF Jun 01 '16 at 02:25 PM

Hi Obiwankabg,

I was not able to reproduce this in UE4.11.2 following these steps:

  1. Open Twin Stick Shooter template with Starter Content

  2. Add chair from Props and place on "T" in "Twin Stick" label in game (to find collision after static mesh is deleted)

  3. Play to test collision is present and working

  4. Stop and delete chair static mesh.

  5. Play and maneuver ship over "T" where residual collision should be

  6. Result: collision is not present

  7. Add "Blueprint_CeilingLight" (BP with static mesh component) to level on "T" like before

  8. Play to test collision is present and working

  9. Stop and delete "Blueprint_CeilingLight"

  10. Play and maneuver ship over "T" where residual collision should be

  11. Result: collision is not present

If this is not an accurate reproduction of the issue, please list the steps to reproduce the bug on our end, in the above format.

Thanks for the feedback,

Steve H.

avatar image Obiwankabg Jun 01 '16 at 03:57 PM

Hey Steve, thanks for looking into this.

When you are deleting the object, are you doing it via blueprint? Sorry if that part was not clear. You need to use the "Destroy Actor" node. Doing so will only partly destroy the object. At least on my end. ;)

avatar image Steve Hardister ♦♦ STAFF Jun 01 '16 at 05:09 PM

Here's my set up (I swapped out the lamp static meshes to the chair and the table where I could see their collision clearly):

Components_01

Components_02

Can you recreate the issue with Starter Content props?

components.png (209.1 kB)
components2.png (117.9 kB)
(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