Attach child collider from code to actor
I would like to add a simple sphere collider to my actor as a child element, all from code.
My actor's root is a SkeletalMesh, that's the visual representation, the sphere is the Physical one.
I've managed to add the child sphere element, but I can't seem to find a way to make it react to gravity and collision.
I could only make it happen with the root , mesh component, but then colliding body is not the sphere's, but the visual mesh of my actor.
I also want to listen to event's when my character passes through the object.
How to achieve this from c++?
Follow this question
Once you sign in you will be able to subscribe for any updates here