Object pickup thoughts

I don’t really have a clue how to do this from purely thinking about it, if I was to guess I’d say a component and I think you could write a new piece of code similar to open door, but instead call it lift chair, the chair could be made to float once being next to it (I suppose this could be done with a pressure plate next to the chair). How to drop the chair I’m not sure but maybe add extra code on the pressure plate in the light to ground the chair (something in the collision volumes to change?)
I have cheated and looked on the internet, a blueprint way of doing this which I have not looked at.

There is also this;

[QUOTE=“Pancakez;n415962”]Create AMyPickup class derived from AActor, set up the mesh and function OnPickedUp. Add sphere component to your character, it will overlap with nearby items. Then on button press (i assume u have button to collect nearby pickup) use GetOverlappingActors and cast it to AMyPickup, if cast is successful call OnPickedUp

That should do[/QUOTE]

Not sure if either of these work

Privacy & Terms