Moving child node with parent's rigidbody


I’m trying to move my spaceship. My spaceship has two parts: The body, and the hood.

I’ve made the hood a child of the body node. However when I move the body rigidbody, the child does not move with it.

I know that if I move the body node using translate, that moves the child but that sacrifices collision detection.

Any help would be brilliant :slight_smile:

Solved my own question. It seems you need to remove the rigidbody from the child.

Hi mrchrissross,

You also have the option of constraints, which work much better in Urho than in reality. :slight_smile:
ref: Samples 19_VehicleDemo

1 Like

Thanks a lot mate :slight_smile: