#weird raycast behaviour

1 messages · Page 1 of 1 (latest)

neat sentinel
crystal sapphire
#

seems pretty splicable to me, you have it so after every penetration in bulletmod.bullet it calls spreadcalc which gives it a new random spread, is that unintentional?

#

you probably don't want to do spread like that anyways you want to do a random angular offset

real forge
#

eertuyuouyhtgrfedsstdtfiyguh

crystal sapphire
#

(CFrame.lookAlong(Vector3.zero, direction) * CFrame.Angles(math.rad(math.random(-spread, spread)),0,math.rad(math.random(-spread, spread)))).LookVector

neat sentinel