Hi all,
I want to decrease player’s health in case of a collision. In the docs (BoxCollider) it is suggested that one could use fixture.onBeginContact to start a timer which decreases health periodically as long as the collsion happens. This approach doesn’t seem to take the force of the collision into account. So I think, touching something softly but for a long period of time is more unhealthy than colliding with high speed and bumping off. Box2D offers the normal impulse (“The normal impulse is just the normal force multiplied by the time step.” [Box2D manual]). Is it possible to access this property in Felgo? Is there another solution?
Thanks for any advice, cheers
Thomas