FastCast Raycast going behind player instead of forward

When I aim it i want it to go forward instead of backwards.

The Raycast keeps detecting my mouse as going backwards.

Example: https://gyazo.com/660b111cbf29ff5b20d607fccdeed17e

I tried to look for anything, It’s hard to find a solution.

This is an FPS gun system with part cache and fastcast

Thanks for the reply, I tested it, It’s not the range, I noticed in the client script when i change the primary part CFrame of the rig Example:

NewRig:SetPrimaryPartCFrame(Camera.CFrame * SwayCFrame * CFrame.new(-0.58 , 0.05 , 0.2));

That’s the aim CFrame of the rig, It only happens when I aim in.

Don’t know how to go about fixing it.

Here go another example: https://gyazo.com/ccae127140255f4b585d08f113a649d1

Try making the bullet fire out of his head when you are aiming, That worked for me

Thanks, I’ll try it and put this as solution as this is a really good idea.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.