#Raycasting Help
1 messages · Page 1 of 1 (latest)
if you want pure accuracy, just use attachments in along to the and track that with raycasts imo
but not sure if im saying this correctly
First is fast but unreliable because it won't detect the hit if the sword moves fast enough to move fully over a hitbox during a single frame
I'm not sure what you mean by the second one but usually people pick evenly spread points of a blade and shoot raycasts from their old positions to their new positions
lmao
I dont really understand what you meant srry 😭
Look at combat warriors hitboxes
Yeahh thats what I meant by the second one, Ig that is the right way to do it
But your question made me wonder how people detect collisions between two blades
Because I guess none of the mentioned ways are really reliable if targets are size of a stick
Unless the distance between the points is smaller than thickness of the stick
Probably they make hitbox of a sword bigger than the actual model, or make the distance really short
¯_(ツ)_/¯
Raycasthitbox exists
This module is the successor to my previous team’s RaycastHitbox: For All Your Melee Needs. Each library has unique features, so I recommend reading both to determine which one best suits your needs. In summary, ShapecastHitbox offers the following advantages over RaycastHitbox: Shapecasting (Blockcast, Spherecast, Raycast) Performance impro...
Like, litterally
Ah okayy, thanks for your help
Yeah ty!
Im not sure how to mark this as solved but it is^ ✅