basically, i want to know how to make a camera tool with range like this:
and if a player hits the range, they will get damaged
i have decent experience with creating tools that are used melee, but no experience with creating tools that have range.
thanks!
Try to use Region3
https://developer.roblox.com/en-us/api-reference/datatype/Region3
Yo this is a tutorial on what a region3 is and how u can use it.
Region3 is a data type that describes a volume in 3D space similar to an axis-aligned rectangular prism. simply put its like a part that only has a CFrame and Size Property. an example of a region3 is the terrain cells that terrain editor uses.
Region3 is commonly used as a replacement of hitbox parts.
it can be created using Region3.new() so its parameters are -
the position of the top left front of a part
2.the position of…
it seems like region 3 cant be a cone like the one in the image, can it?
Maybe make the cone welded to the camera then make it invisible. If a player touched it, the player takes damage
for some reason when i equip the tool, the cone makes the player get flung, and yes the cone has cancollide off and anchored off (it is also a mesh)
cameratoolTest.rbxm (12.5 KB)
that is the camera tool im using (ignore the scripts inside)
I fixed the issue. Make all the parts in your tool massless. It worked for me!
1 Like