elastic collisions and basic resolver