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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Can I stop my DM from moving when it simulates chunks? - RESOLVED

Hey!

I have recently started prototyping a cover based 3p shooter and I wanted to add some dynamic to it by having destructible cover. The way I have it at the moment only works up to a certain point...

My cover does not take any damage from my characters coming into contact with it (meaning I can run up to it and take cover), which is perfect, but if my object is taking damage and I do touch it, it gets pushed away.

Is there a way to make the mesh stay static even when it's simulating? Or even better, is there a way to make it look at the chunks alone as "movable"

PS. I am currently using "Enable Hard Sleeping" which seems to make it static when NOT simulating, which is almost there for me.

Thanks in advance

Ash

Product Version: UE 4.17
Tags:
more ▼

asked Nov 24 '17 at 03:45 PM in Blueprint Scripting

avatar image

Ashghan
1 1

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

1 answer: sort voted first

Ok, so I have been playing around with some possibilities to try and figure what was causing my entire mesh to move when collided with and I found a solution...turns out the solution was quite simple.

alt text

While reading this thread, it became quite clear that all I needed to do was have a static mesh attached to my destructible that behaves as a "pin" to keep it still. Now it was also suggested that this "pin" could be made invisible in game, although in my case it makes no difference as it's going straight into the ground.

So in essence, all I needed to do was add a mesh connecting my DM to the surface I want it to be attached to and it stops moving.

destructible.png (91.8 kB)
more ▼

answered Nov 25 '17 at 11:43 AM

avatar image

Ashghan
1 1

(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