3
$\begingroup$

I have two meshes and I need they remain together while they move but being different meshes, so Ctrl+J is not the solution. I've tried to put a rigid body joint but when I activate it the two pieces get apart.

I need the two pieces remain in this position

I need the two pieces remain in this position

When I press the up key this is what happen

When I press the up key this is what happen

Here is the file: http://www.pasteall.org/blend/29210

$\endgroup$
3
$\begingroup$

Rigid body joints constraints intented use is for situations like:

enter image description here Animation created from the blend file linked in the docs

Note the collision bounds are set to box and the joint itself doesn't have a collision bound.

Comparing your file you have collision bound set to capsule which should be mesh:

enter image description here

Setting it to triangle mesh would at least avoid that it is blown away when you switch on the physics.

enter image description here

In case you only want to parent both objects you wouldn't need the constraints:

First select the child object then the parent Ctrl-P will open this popup.

enter image description here

To have the influence of parenting animated you could consider to use a ChildOf constrained.

enter image description here

$\endgroup$
3
$\begingroup$

I tried to lock everything but then I coludn't move the objects. The solution is to put an Always sensor and a Parent actuator in the game logic.

$\endgroup$
1
$\begingroup$

Have you tried establishing a child parent relationship between the two (cf http://wiki.blender.org/index.php/Doc:2.6/Manual/Modeling/Objects/Groups_and_Parenting)?

ns

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.