Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Is there any way to make a not cancollide humanoid character?

Asked by 7 years ago

I want to create a game using walking NPCs. I don't want those dummies to be cancollide as they are walking in eachother's way too much, is there any way to set cancollide to false as manually doing that by making all parts like arms/legs not cancollide doesn't work. They are still walking into eachother. Any help?

1 answer

Log in to vote
0
Answered by 7 years ago

Well if you have your NPC models then make sure there CanCollide is set to false. Other words you can set them false with a script.

Example:

local Dummy = game.ReplicatedStorage:WaitForChild("Dummy")

Dummy:FindFirstChild("Right Leg").CanCollide = false
Dummy:FindFirstChild("Left Leg").CanCollide = false

And so on. We need to know if the dummy is in Workspace or cloning it.

Accept answer and Upvote if helped.

0
Well I already tried doing this, but didn't work they are still going into eachother. Looks like ROBLOX is ignoring cancollide when you're trying to do stuff like this... VladimVladim 78 — 7y
0
Are you cloning the dummy? BlackOrange3343 2676 — 7y
0
This won't work. The Humanoid Object sets the can collide properties of the torso and head to true and locks it. AZDev 590 — 7y
0
Think about retail tycoon BlackOrange3343 2676 — 7y
Ad

Answer this question