Hello, I currently have a problem with my gun using the FastCast Redux module. I have a script that makes the player’s arms move up and down based on the Y Axis position of their mouse when a tool is equipped. Since the attachment that the bullet has it’s origin set to constantly updates it’s position, it does not sync up to where it should be. The bullet origin is set to the WorldPosition of the attachment. How should I go about fixing this?
Part of the script that handles the bullet:
local Origin = Tool.BodyAttach.BulletAttachment.WorldPosition
local Direction = CFrame.new(Origin)*CFrame.new(0,0,0)
local OriginToDirection = CFrame.new(Origin,Position).LookVector
FastCastRedux:Fire(Origin,Direction.Position,OriginToDirection*GunModule.Velocity,Behavior)
Thank you!