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

How can I make an object go through only one other object?

Asked by 5 years ago

I'm wondering if there is a way to make on object go through only one other object. So like if there were 2 cubes, the cubes would collide, but they would not fall through the baseplate.

0
what DeceptiveCaster 3761 — 5y
0
I mean is there a way I could get a block to only go through other blocks that I specify spoonses 7 — 5y

2 answers

Log in to vote
1
Answered by 5 years ago
Edited 5 years ago

Take a look into collision groups, this should allow you to achieve what youre wanting. https://developer.roblox.com/en-us/articles/Collision-Filtering

Ad
Log in to vote
0
Answered by 5 years ago

I'm not really sure what you mean. If you have CanCollide turned on for the bricks then they should collide anyway.

0
CanCollide will not work. DeceptiveCaster 3761 — 5y

Answer this question