I am working on my viewmodel for my fps game and I will be using ROBLOX animations. When I zoom in, it messes with the player and the player starts moving everywhere. Since the hold animation is playing, I cannot set CanCollide to false. Every part that is animated will have CanCollide set to true. The viewmodel's parent is camera so when I zoom in it would just throw my player off my map. Any suggestions on how to turn off CanCollide while a part is being animated?
COMMUNITY QUESTION
How do I disable CanCollide while a part is being animated?
1 answer
Try using collisiongroups. Might solve the issue for you. If it does not, try using
game:GetService("RunService").RenderStepped:Connect(function(
-- input code that makes your gun uncollideable
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Could you post your code? Or post your attempts? See https://idownvotedbecau.se/NoAttempt and https://idownvotedbecau.se/NoCode for more information