I want to check wether we actually reach the throwing code and also what the force is.
Can you replace the following lines:
if self.carryingEntity then
local dir = Transform:Vector(0,0,self.throwforce,self.camera,nil)
self.carryingEntity:AddForce(dir)
self:DropEntityCarrying()
else
with
if self.carryingEntity then
System:Print("Carrying item")
local dir = Transform:Vector(0,0,self.throwforce,self.camera,nil)
System:Print("x " .. dir.x .."-- y " .. dir.y .."-- z " .. dir.z)
self.carryingEntity:AddForce(dir)
self:DropEntityCarrying()
else
And then post back here what the output is in the output tab once you ran the game and threw something.