How can I attach 2 actor components?
Hi, my actor has 2 components
1 static mesh component and another capsule component.
The static mesh component is responsible for physics simulation and the capsule component is used for another specific action non-related to physics.
I want the capsule component to stay attached to the static mesh component. I have added the capsule component by code and static mesh component by blueprints. So the capsule component is the root.
One solution i can think of is moving the capsule component in each tick update to the location of static mesh component. But that would require to add the static mesh component by code. Is their an easier solution for this?
The easiest way is just to parent the capsule under the static mesh. You do this by just dragging the capsule and dropping in on the static mesh in the heirachy.
answered May 12 '14 at 10:49 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here