Bug: Mouse Aim Targets Invisible Parts in Deepwoken
Bug #4428
Mouse Aim Targets Invisible Parts in Deepwoken
| Status: | Open |
| Priority: |
High |
| Added by: |
|
| Assigned to: |
Unassigned
|
| Due date: | |
| Reported for: |
0.1.0
Auto
|
| Roblox Id: |
712933651
|
| Roblox Username: |
Redigit_1
|
| Slot: |
Not set
|
Steps to Reproduce
No steps to reproduce
Explanation
devs need to add this line of code to their client script such that the mouse aim does not hit invisible parts:
game:GetService("Players").LocalPlayer:GetMouse().TargetFilter = workspace.Thrown
Watchers
basically any attack that uses mouse.hit for its aim instead of the custom deepwoken targetting system
hmm
alternatively, they can use
game:GetService("Players").LocalPlayer:GetMouse().TargetFilter = workspace
on the client
and then tweak all mouse.hit aiming systems to call a raycast, so like:
local params = RaycastParams.new()
params.FilterDescendantsInstances = {workspace.Thrown}
params.RespectCanCollide = true
params.RaycastFilterType = Enum.RaycastFilterType.Exclude
local cast = workspace:Raycast(Camera.CFrame.Position,CFrame.new(Camera.CFrame.Position,Mouse.Hit.Position).LookVector*1000000000,params)
if (cast) then
newposition = cast.Position
end
to override the standard roblox aiming system entirely
i promise im not trying to be pretentious this has been annoying me for atleast a month and a half now
i had this exact same issue with my fps game where it would hit invisible objects and cause your bullets to curve wildly
its like a 3 minute fix at most cuh 💔
oh
🤷
also he is the code guy
<:dwKiron:1396656469436403882>
he does atleast some frontend work, would probalby be able to pass it to higherup devs
LOWKKK this would be peak
could you atleast just forward the issue so they know how to fix this if they dont already
I use storm breaker heh
this problem is esp annoying with stormbreaker because theres a chance youll throw it into an invisible wall and it will curve up into the air and put you in ~4 seconds of true stun
yeah i guess
ill forward it eventually..
im just like
90% sure its been forwarded already, probably by someone before my time
and seriously almost every developer knows how to fix this its just that its annoying
its not something that affects 1-2 things it happens to ALOT of mantras
this isnt a bug exclusive to deeps engine its just a standard roblox issue
Icl when is a storm breaker buff coming up?
was already buffed does like 2x the dmg
does not need another buff it was fine before the buff even
bump, i suppose