How would i go about making a placement system for walls and floors only?

liek in the title, i want to make a placement system, like a system to place stuff, but from a max range and only on walls and floors, becuase i want to be able to place gadgets. system like this can be seen in payday 2/3 with the ecm jammer, where you can just place it on walls and floors, but you also have range. can anybody give me some ideas?

1 Like

Basically it would be like this:

  • player activated the thing that triggers the placement
  • every [interval] raycast to determine where the mouse is pointing
  • move the item to the raycast’s hit position
  • I’m not sure about range but yeah
  • when they do something to stop it just anchor it and disconnect whatever connection was constantly raycasting
  • boom
1 Like

boom

i hate the char limit bru

1 Like

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