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"

Pushing Objects issue

Hi everyone, so im currently trying to create a box that I can push around. After many hours of trying Ive managed to kinda get it working as i wanted but the problem now is that the object im pushing doesnt collide with any static mesh. Ive been playing around with the collision details for hours but Ive just not been able to figure this one out.

Ok so how it works. 1 - If the player interacts with the object it checks what side the player is in. (I've used 4 different collision boxes on each side of the box to determine this). It then establishes certain variables which I use to set the correct box movement. 2 - Then an event tick runs that sets the relative location of the BOX. The problem is that no matters what I do with the collision settings even if I set Block All it still wont collide with anything. Any Ideas? Thank you very much for your time. here are some screenshots of the blueprints and details. alt text alt text

alt text alt text

Product Version: UE 4.21
Tags:
mov-box-1.png (444.4 kB)
mov-box-2.png (313.3 kB)
mov-box-3.png (184.6 kB)
mov-box-4.png (42.2 kB)
more ▼

asked Mar 22 '19 at 07:21 PM in Using UE4

avatar image

OniricMaster
26 2 3 9

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

1 answer: sort voted first

Hi OniricMaster.

On your 3rd screenshot (with the tick event), you are setting the location of the cube with "SetWorldLocation" with the field "Sweep" set to false (unchecked). Without Sweep enabled, you cube will be positioned without any change in the physics / collision states, this means overlap events will not be generated.

You might also want to check the collision settings on the other geometry in the scene as well. If they do not have collision bounds / query physics activated then your cube will also not be able to see them.

For further information take a look at this, it is an interesting read: https://www.unrealengine.com/en-US/blog/moving-physical-objects

Good luck! :)

more ▼

answered Mar 22 '19 at 07:38 PM

avatar image

Alekann01
441 4 5 6

avatar image OniricMaster Mar 22 '19 at 07:52 PM

That fixed it, thank you so much dude. You are a hero!

(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