Alright I’m trying to make a gun system, and I have and Issue where bullets that ricochet doesn’t kill/damage. I was wondering how do you cast ray in front of the bullet where it’s supposed to go? I’ve been casting the ray from the muzzle of the gun and predicting where the bullet will go. Any help?
local bullet = ... local result = workspace:Raycast(bullet.Position, bullet.CFrame.LookVector * 1000) print(result)
It did not work as intended.
It’s based on the ACS gun system I’m just modifying most of it, and it seems that the bullet doesn’t always face the exact direction of the where the bullet is going.