GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

How to calculated x,y on how far a actor can be tossed with physics.drag upto 50.

Hi,

I am working on a project under one can tossed a actor, its like paper toss app.

I have calculated angle and magnitude for that and given a acceleration of 100 and physics drag of 50
i am thinking a setting canCollide to YES when actor.position.y is equal to the lastTouched.Y,but actor never gets to that position because of acceleration.

Any help on logic for setting canCollide to YES so that i can measure collision when actor is moving downwards.

Sign In or Register to comment.