#How are these types of hitboxes made?
1 messages · Page 1 of 1 (latest)
Raycast hitbox
Essentially you just raycast from where the attachment was to where it is now
oh alright
i see
and detect what hit
ok 👍
Current Version: V.4.01 Stable (09/21/2021) Upgrading from 3.xx to 4.0 Please note that V4 is not backwards compatible with V3. There are a few API changes that were introduced in V4 to better suit modern code etiquette. Here are the changes you need to know if you want to make your code compliant with V4: Raycast Hitbox 4.01: For all your m...
Im friends with Team Swordphin, so if you have additional questions I can ask the owner of it.
this is a bad way to do this now, its better to do shape casting now
Ngl I’m not sure how you would use shape cast cuz they have a pretty big limitation
the limitation is on size and how far it can go but for a mele hitbox u dont need it too be that big or go anywhere at all
only real limitation is that it doesnt detect anything the first time its created but thats fixed in the enxt frame
1 more limitation is theres only 2 shapes a cube/cuboidal type shape and a sphere but i feel like the animations and effects and what not should mask the inaccuracies with this
if they release a capsule type shape it'll be nice
Shape cast is just moving a shape from point a to point b and if I remember correctly, if point b is “colliding” with point a then it would return nothing
yeah if its already colliding it wont return anything
Which might be a problem
And is it’s prob one of its biggest limitations
Last I tested it, it wasn’t the case lol
so if its already touching something it wont detect
but once it moves a little bit
then it will detect
what this means is u shouldnt use it for 1 frame detection
so basically if u were to shapecast at a size and in a position that already intersects something it wont detect it at first but then once it moves to the next frame it should? (thats what i think initially means i could be wrong)
🤷♂️
ah idk either
Ain't no way they just made a souls game but in roblox