#my sword does no DMG :(

1 messages · Page 1 of 1 (latest)

stuck crane
#

use hitboxes

wild burrow
#

Use magnitude

neat fern
#

Do not use touched event

#

Use raycast

#

Hitboxes -> Imprecise

#

Magnitude -> makes you able to hit backwards

#

¿What is raycast?

#

Make like when you slash an imaginary line comes out from your character

#

If that imaginary line hits something on its way then it will return that

#

So make that a raycast goes out from the player with the sword torso

#

and if it detects another npc which has an humanoid or something that can distinguish it from the environment

#

Make the damage event

#

Look it up and tell me if you need any help with it

cunning sorrel
#

hitboxes is the easiest for simple combat system

#

raycasts are for bigger more percise ones

#

using hitboxes will work just fine