Jump to content

[SOLVED] How to link two objects?


photo

Recommended Posts

Posted

Hi, I have two animated objects within a scene and I want the character follow the horse, how to do?

Thanks

 

el54u.jpg

Posted

Ernesto: it a simple, you must add world child to horse and set character to control

ObjectMeshSkinned horse = ...
ObjectMeshSkinned character = ...
horse.addWorldChild(character);
character.setControlled(1);

Then character will have animation controled by horse.

Posted

Great, thank you very much...

 

Best regards

×
×
  • Create New...