What is the meaning of each ECollisionResponse enum(ECR_Ignore,ECR_Overlap, ECR_Block, ECR_MAX)?

What is the meaning of each ECollisionResponse enum:
ECR_Ignore
ECR_Overlap
ECR_Block
ECR_MAX

Currently the description documentation page is empty.

Generally these refer to how a “collison” should respond. The first simply means Ignore and move on, ignore would allow you to walk through it like a mist or cloud. The Second means that it generates an Overlap event which you must handle if you want it to do something e.g. BeginOverlap and EndOverlap. Use Overlap when you want to do something like a motion detector or proximity mine or breaking of glass as a bullet passes through it. Block Means that it is officially a hit and under normal circumstances block prevents things from moving past it, so use Block for stopping a bullet or to stop the player from moving through something. Max is usually an enum convention indicating that last value in the list, it is generally invalid and used only for iterating through in a for loop.

2 Likes

Thank you that was very helpful