I’m having some trouble getting collision events to trigger for a mechanical actor I have in my scene that uses a skeletal mesh, and physics asset. My projectile passes right through them without getting the OnHit event.
Can someone please explain to me what are the proper settings for the Skeletal Mesh:
Physics: Enable Per Poly Collision YES Physics Asset MyActor_Physics
Settings for MyActor_Physics:
root bone Physics Mass in Kg YES Mass 100 Enable Gravity NO Physics Type Default Collision Simulation Generates Hit Events YES Collision Response ENABLED bone2 <same as above> bone3 <same as above>
Then I apply Asset → Apply PhysMat
In my BP class that inherits my APawn code, I set the following:
DefaultSceneRoot Physics Should Update Physics Volume NO SkeletalMesh Physics Simulate Physics YES Enable Gravity NO Constraints NONE Start Awake YES Physics Asset Override NONE Should Update Physics Volume NO Collision Simulation Generates Hit Events YES Generate Overlap Events YES Collision Presets BlockAll
Is there something else I’m missing?
Thank you in advance for your help.