I created an animation (with moon animator / normal animator) and I wanted it to be the intro for my game. However, whenever the character hits something it would move the character and ruin the animation, I tried fixing this by turning off colliding but that didn’t help.
If you could figure out a way for the intro animation to work and not collide with anything around it (but still be able to animate/ not fall through the world), it would be a big thanks and would really be useful.
If you have any questions, I would be happy to answer them.
-FudgeKing
You can try adding CollisionGroups to the character. Try this out:
local PYS = game:GetService("PhysicsService")
local char = --insert here
local collisionName: string = "CollisionName" do
PYS:CreateCollisionGroup(collisionName)
PYS:CollisionGroupSetCollidable(collisionName, "Default", false)
end
local function SetCollisionGroup(base: any, group: string)
for _,v: BasePart in ipairs(base:GetDescendants()) do
if v:IsA("BasePart") then
PYS:SetPartCollisionGroup(v, group)
end
end
end
SetCollisionGroup(char, collisionName)