Parent/Children with AddForce

I posted this on Unity answers, but it looks like nobody can work it out, here’s my question -

I guess this is a pretty simple question, but I just can’t find the answer.

I’ll use this example for a base, say we’re flying a rocket. Now the rocket’s power doesn’t come from the rocket itself does it? It comes from the rockets engines. So what I am trying to do is re-create that. I first create the engine object, and add force to it, making sure I lock all rotations and what not. I then attach the engine object to the main rocket, this is when I run into problems. Instead of the engine sticking to the rocket, the engine just flies off itself.

What do I need to change here?

~ Alex

parent the rocket to the engine so that the rocket is a child of the engine and it should all work fine.

Like what I got told on Unity Answers, this is what I realized. Now I have that, I need to add another engine, how do I do this?

You can use FixedJoint to glue multiple rigidbodies together. However, unless you want them to be able to break apart, this is not a good idea as it’s not as stable as just using a single object.

So either use one rididbody for the rocket, adding the sum of all engine forces to it. Or attach engine rigidbodies to a rocket rigidbody using FixedJoint, and be prepared for possibly twitchy behavior.