pick up and drop with line trace

Yes, I want to try to make a warehouse simulator

1 Like


for now it works


I would like to do something like this so that the player knows where the boxes are left

Simple cube + outline material (give YT a go). Send interface to the dropbox when tracing → show its static mesh.

How do I so that I can only put 1 cube in a boxdelivery? or would this break everything?

• add a isOccupied boolean variable to the box delivery
• when you attempt to drop, query this variable
• if true => do not drop
• if false => drop, set isOccupied true
• if you ever pick up a correctly dropped box again, set isOccupied false

1 Like

I want to make it so that when you place four boxes, the static mesh changes and I did this but the event destroy does not work and I also think that the condition of four boxes can fail, how would you do it? with a variable?


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