#Melee weapons?
1 messages · Page 1 of 1 (latest)
The swing handle supports swinging motion for when the swing starts and finishes, to make sure it does not damage yourself, you could use the handles holding player as a filter “if hit holding player, do nothing”
on collision hit player > if [collision detection volume velocity magnitude] >= [minimum velocity magnitude for a hit]
you'll have to test minimal velocity for a hit because it depends on a lot of factors
just swing you weapon and look at the velocity while you do that, then just use the number that u saw
for the "not dmg yourself" part:
on player hit > if [player holding the handle] != [collision data > get player] > damage
!= means not equal