I have a third person character controller, the character has pickmode(0).
I can walk around and have obstacles between the player and the cam , but nothing happens?
the self.pivot is a pivot which is at the center of the character (the camera focus).
updateworld:
if self.entity.world:Pick(self.pivot:GetPosition(),self.camera:GetPosition(),pickinfo,0,true) then
local model2 = Model:Box()
model2:SetPickMode(0)
model2:SetPosition(pickinfo.position)
model2:SetColor(0,1,0)
System:Print(">> PICKED")
--self.camera:SetPosition(pickinfo.position)
end