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. 

Simulate Physics: disallow forces from specific actors

I am currently developing a top down scifi game.

I have a space ship and use phyics simulation with AddForce/AddTorque to move the ship. In general this works fine, if I let Asteorids crash into the ship, it gets pushed away and if I move/rotate the ship near obstacles, the ship gets pushed correctly.

Unfortunately there are some problems when colliding with actors that should not move the space ship, e.g. smaller projectiles from pistols or characters running against the space ship. Sometimes, when characters get spawned into the ship, it reacts so heavy that it get pushed into the next obstacle and stuck there colliding with the obstacle forever.

I want that characters and small projectiles cannot push the ship away but still overlap and collide with it, effectively only switching off the forces getting applied to the ship. Is there a way to do that?

Product Version: UE 4.18
more ▼

asked Feb 04 '18 at 01:20 PM in Blueprint Scripting

avatar image

82 13 14 17

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

0 answers: sort voted first
Be the first one to answer this question
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