Hi everyone, I have a skeletal mesh with a physics asset attached (it’s a Pawn child BP), and I can’t get the “Event OnClicked(StaticMesh)” node to fire, and neither will the “Event OnActorClicked” node. Click events are working with static meshes. Adding a collision box and adding a click event for the collision box also didn’t work, however attaching a static mesh (box), setting it to invisible, and creating a click event for it does work. Could anyone please tell me how this is supposed to be done please? Thank you!
Update: It seems that setting the Collision Preset on the skeletal mesh to “Block All” did the trick. I guess I didn’t really understand this area very well before.
My next question is - is there a way to have a parent class contain a click event node so all of the children actors inherit this capability? I haven’t found a way since the parent class doesn’t actually have any mesh to reference for the event… Thanks everyone!
If the Parent Class has a CollisionBox or something and you implemented an OnClickEvent for that, it should be working for the ChildClass of this Class.
But the Parent needs the Mesh/CollisionBox or what ever the OnClickEvent is using.
Hello,
where did you find the Collision Preset Settings to change it into “Block All” ?
Select the object then in the panel go to collision and you can pick what type of collision you want for the actor through the dropdown.