MultiSphereTraceForObjects hit actor or player more then once i want it hit them once

Multi Sphere Trace For Objects hit actor or player more then once i want it hit them once

That’s because it sweeps against the capsule and against the mesh; and the mesh will generate multiple hits since it’s made out of many elements.

You have options, pick one:

  • create a new Object Channel in the Project Settings → Collision; assign it to the capsule, trace against that type
  • disable collision on the mesh (probably the worst solution)
  • change the Object Type on the mesh to something else, something that isn’t the type you’re tracing against; ideally create a new dedicated channel

335915-screenshot-1.png

The last option is probably the best here.

thank you very much i will try it