[Collision] Problem with Character and Blueprint actor collision
Hi, I've set a Blueprint actor with a Static Mesh Component (the mesh has collision set in the Static Mesh Editor -if it's still called that way-) and the component in the Blueprint has collision to "BlockAll".
I have a character pawn that collides everything as expected in levels, but with that particular Blueprint actor something strange happens: if the character moves towards the Blueprint actor they collide, but if the character doesn't move the Blueprint actor can go across the pawn as if there was no collision (the Blueprint has a graph to move every tick with "Set Actor Location") .
Do you know what might be causing this? I'd like to set things so they always collide.
The issue you are running into sounds like your graph is actually setting the Actor Location to a spot that your pawn already occupies. In this case, the block would not occur because the object is being set to that exact location. You may want to look into adding an Overlap event to the component that is moving and if it hits a pawn, have it move the pawn a short distance to the side out of the path--maybe using a Normal vector?
If you want to post a screenshot of your graph, we may be able to provide a better suggestion.
answered Mar 26 '14 at 03:01 AM
Steve Allison STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here