Can pickup pickups from distance

Hi, thank you for this course (as usual).

For now, the pickups can be picked up directly from anywhere as we can click on it.

I want to add a check so we can only pick up pickups when in the trigger or at a certain distance but I am not sure where make this method because now the pickup is handle by the IRaycastable method HandleRaycast().

And also, that we can’t pick up more health if we are already at maxhealth, well maybe in another video because this is just a little hack for us to test the game here.

M. D.

There are several posts in here that asks (and I believe answers) this very question. Just do a search

If I remember right, this is fixed a little later in the course

Thank you Brian.

I’ll do a search in the forum, sorry.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms