hi,
i'm trying to do a cannon which shoots circles.
so i will use addChild to attach the objects to the field.
But i cannot seem to find a way to applyForce or applyImpulse for the added child.
i'm also using myWorld1x.triangle.rotation = int(radAngle*360/(Math.PI*2)-90); so the applyForce or applyImpulse should contain the current angle. How to achieve this?
Thanks!
i'm trying to do a cannon which shoots circles.
so i will use addChild to attach the objects to the field.
But i cannot seem to find a way to applyForce or applyImpulse for the added child.
i'm also using myWorld1x.triangle.rotation = int(radAngle*360/(Math.PI*2)-90); so the applyForce or applyImpulse should contain the current angle. How to achieve this?
Thanks!