I'm making a mod with jordan4ibanez, and I need help to check when an item is dropped. This means dropped and on the ground, not dropping. This is crucial.
Any ideas on how to implement this?
if minetest.registered_nodes[nn].walkable then
if self.physical_state then
self.object:setvelocity({x=0,y=0,z=0})
self.object:setacceleration({x=0, y=0, z=0})
self.physical_state = false
self.object:set_properties({
physical = false
})
end
else
Users browsing this forum: No registered users and 9 guests