Joints

Hello,

I am wanting to make a joint that put two objects together and rotate that image.

I am currently using this code:

myJoint = physics.newJoint( "pivot", red, blue, red.x, red.y, 1,0)

What im missing is the two objects rotating as one. I have seen the pivot joint feature to rotate the object but have not successfully put in use. How can i rotate two images as one join ?

Thanks a lot.

Have you seen the Billy Cart project?

http://developer.anscamobile.com/code/billy-cart-corona

views:1659 update:2011/9/20 13:12:00
corona forums © 2003-2011