Hi! im working on a project which need the user to pickup small objects on a table, like keys, cards etc. Is there a way to change the range of selection for it to be smaller? Cause even if the little hand is pointing at an object it might picked up another object thats closer or besides it.
(line: 450ish in FPSPlayer, and the the icon is 490ish)
local p0 = self.camera:GetPosition(true)
local p1 = Transform:Point(0,0,self.useDistance,self.camera,nil)
if self.entity.world:Pick(p0,p1, pickInfo, 1, true) then
tried changing the two zeros in the Transform:Point, but what it does is only moving the object selection range on the x,z axis and keeping the same range. so i can select the object when the middle of the window is more on the left or right.
and another question : at the end of a level before loading the new map i would like to fadeout to a DrawRec or Image. I know how to put it full on but is there a way to fade in/out?
Thanks guys!