point of impact collision event

You must Login before you can answer or comment on any questions.

Hello,

i'm using the following code to move an object:

setTimeout(function() {
    bodyRef.setLinearVelocity(0, 5); // Move vertically with no forces applied
}, 1000 / 60);
I get several informations, collided objects e.g, but i don't get any information about the point of impact. How do I get that information?

Thanks in advance !!

— asked 8 months ago by Maik Hartmann
2 Comments
  • Voted down -- you didn't mention in your question that you're using Box2D. Please provide all the relevant details in the question, and when you're using a non-standard module, please include its name in the subject.

    — commented 8 months ago by Jason Priebe

  • Ah sorry, indeed, I'm using box2d, unfortunately i'm not able to edit the subject any more.

    — commented 8 months ago by Maik Hartmann

Your Answer

Think you can help? Login to answer this question!