Hi,
when I apply forces onto my “ship on water” and it collides with the land it successfully dispatches a collision event.
But when I place my ship by setting the position manually, a collision with the land won’t be detected.
This works:
shipFront.scaleBy(speed);
_shipBody.applyCentralForce(shipFront); -> Collision can be detected.
This won’t work:
shipFront.scaleBy(speed);
_shipBody.position = _shipBody.position.add(shipFront); -> Ship drives through the land without collision.
Does anybody knows a reason for that?
THX