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.
asked Mar 22 '19 at 07:21 PM in Using UE4
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! :)
Follow this question
Once you sign in you will be able to subscribe for any updates here