#i made tower placing system but how i can avoid this:
31 messages · Page 1 of 1 (latest)
workspace:getpartsinpart or shapecast or boxcast spherecast etc
you didn't explain the problem, i assume you mean overlapping hitboxes
ye
hitboxes
you also didnt provide code, so keywords seem relevant. look them up in the docs http://create.roblox.com/docs
here code
did you write this code yourself or did it come from a tutorial(s) or chatgpt or roblox assist?
NO
im trying to learn scripting and make tower defense
game
and i have some experience
and solved
i made this code
good?
idk, does it work and/or did you look it up in the docs?
and proof i made it: its bad code
ik
then it is good 👍
wanna see how it works now?
bc u rlly help
@earnest frigate thx
idc but ye boxcast/shapecast/those will let u snap to valid position if there is a hitbox in the way, sometimes it good idk depends what u want
partsinpart is first step
it can go further ;p