How can I use the _integrate_forces(state) to move my child rigidbody, in my root spatial node script?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By nightrobin

How can I use the _integrate_forces(state), if my script is in my root spatial node, and my rigid body is a child of root spatial node?

:bust_in_silhouette: Reply From: huhund

You could save a reference to the child node and add forces to it from the root nodes physics_process function.