How to make an object to rotate in line of another?

Eriko

  • Posts: 162
As showed in fig. 1, we have two square: 1 and 2. When square 1 rotates in its axis the other follows(fig. 2). Can it be done with the images api and objects? Thanks.

LIBERADO

  • *
  • Posts: 2720
A simple, easy and fast way: Use the great Joints extension and create a weld joint.
   

   
<a href="http://static.stencyl.com/games/37828-0.swf" target="_blank" class="new_win">http://static.stencyl.com/games/37828-0.swf</a>
I'm spanish, excuse me for my bad English.
I'm not a private teacher. Please, post your questions in the public forum.

LenseOnLife

  • Posts: 127
Great example of how / when to use joints - thanks

LIBERADO

  • *
  • Posts: 2720
Hello dear @LenseOnLife, your videotutorials are great too.

Cheers.
I'm spanish, excuse me for my bad English.
I'm not a private teacher. Please, post your questions in the public forum.

Eriko

  • Posts: 162
@Desperado: Thank you!