#help with making a weapon that deals aoe knockback
1 messages · Page 1 of 1 (latest)
They literally said in the description the don’t want it to be in 1 direction. They want to to be like an actual explosion.
Mb
You’ll need to define where the explosion happens, let’s say you use a projectile component, and where the projectile lands explodes, you’d get the hit pos, send that to everyone, and if your current pos is within let’s say 10m of the hit pos, you’d subtract the hit pos from your current pos and locally run a velocity set with the as the direction (if this flings you towards the explosion point, reverse the subtracting positions)
thanks alot for the help! the weapon is melee btw
The same method still applies, just you’d use the melee hit pos instead of a projectile hit pos