Ok, going t re-edit this to more specific, my problem in a nutshell is that I have set up a ray cast to pick up an object which I can do. However, after roughly 3 seconds or so the player (fps) drops the box and I can’t work out why. Set up is a typical ScreenToPoint raycast, the ray cast itself works perfectly, however if I hold the item in the air, even for perfectly still, the item drops out of the air after a few seconds, thus what could be happening. Code to lift the item, is shown below:
Gravity was (negative y vector) accumulating or at least fighting to pull the object down, however, setting the velocity to 0 while, the object it being held stops this happening. Once the the boolean is false (i.e. GetButton, or isHoldingObject etc) gravity, being a universal force, will be re-applied to the object, and it will fall.
i already solved the problem but i'll do more research on the topic, thanks anyways
How about actually adding information, rather than just editing to try to bump. Your question has not been answered because it is too vague.
– Waznice it worked, thank you very much for your help.
– call_me_senpai