BlockAllDynamic not working

I’m new to unreal engine, the global setting is clean, and we i setup a test for collision(as follows),
setting the sphere to blockalldynamic, and the sphere goes through the wall(which should stop)


did I miss something here?

If you made a blueprint and put a sphere in it, and wrote some movement code, it will still go right through the wall. You also have to write the collision detection code.

Or, you could use physics, or inherit from ‘character’ or ‘pawn’.

Thanks for your reply. I do use physics in my blueprint, which is named Box in the blueprint(In the Components tag of the first image). It’s a Box collision.

now i added the collision detection. The sphere still go through the wall

1 Like

Try overlap, rather than hit. But I think you might need a lot more code ( for walking up and down stairs, for instance ), which is why people inherit from pawn etc.

Make the basic collision shape the root component. Projectiles only register collisions on the upper most root element that is a collision primitive.

3 Likes

Thank you so much, It bother me a day :smile:

Try set both generate hit event as activate.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.