No sprite collision detected between custom entity and switch
Created by: Renkineko
Here is a sample of code for a custom entity (the arrow) :
self:add_collision_test("sprite",function(me,collision_entity)
print(collision_entity:get_type());
end)
This code will not print anything if the collision_entity is a solid switch (type "arrow solid" or "solid"). If it is a crystal (activating the crystal blocks), the sprite collision works.