I want to attach a child object to a parent object and make it follow

Hello,

Currently, we are exploring a method to attach a shooting object (child) to a player object (parent), allowing the player to move freely while firing projectiles from the child object and controlling button-long-press charging.

We successfully added a Connector node to the parent object (the player) and managed to generate the child object based on the connection point. However, the child object is not following the player and remains stationary.

We would like the child object to follow the player’s movements but are unsure how to configure this. If there is a solution, we would greatly appreciate your guidance.

What should I do with the ChildSettings child node added to the child object in the Inspector’s Parent Settings > Child Object Movement? If that’s not what you meant, I apologize.

4 Likes

Added ChildSettings and set “Follow without leaving the parent object” to achieve the expected behavior. Thank you!

4 Likes