Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!
Information about a physics contact event. More...
|Import Statement:||import Felgo 3.0|
enabled : bool
This property holds whether the contact event is enabled. If it is set to false in World::preSolve, the event will not be passed to the contact solve and thus have no effect and will be ignored.
The default value is
fixtureA : Fixture
The first contacting fixture.
fixtureB : Fixture
The second contacting fixture.
tangentSpeed : real
Returns the contact tangent speed and changes it.
This can make bodies act like conveyor belts, as if their edges were moving.
See also Fixture::restitution.