#help with selection box thing for rts

1 messages · Page 1 of 1 (latest)

lament onyx
#

rn im trying to make a drag selection box that lets a player select multiple units and move them, i have the visual part done (drawing the box when dragging with mouse) but dont know what to do to actually select stuff, if u need more info ask me

zinc cargo
#

you can use Camera:ViewportPointToRay() to get 3d positions, and use workspace:GetPartBoundsInRadius() to get all parts in the box.

#

im assuming you have the basics down so gl