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

Any way to know if a part is touching a certain face of another part?

Asked by 6 years ago

I want to know what the face of the touched part is.

for example:

part1 is touching the front face of part2

1 answer

Log in to vote
0
Answered by 6 years ago

I'm sorry but I'm not sure what you are asking.

===========================================================================

Can I write a script to where if part1 touches "front face" of part2 the script will run?

You can't exactly do that unfortunately. (There is no way to fully detect if a part is touching another part's "face". Err.. That's what I think..)

However, you can add a tiny part to the face and write a script to where if it's touching that part it will run the code. I can give it to you if you wish.

===========================================================================

Where is the "front face" of a brick?

Same as above, that isn't truly possible to find out with a script. However follow these steps:

  1. Add a decal to the brick with any image.
  2. Make sure the the property, "face", says front
  3. The image will be displayed where ever the "front face" is on your brick.

===========================================================================

If this doesn't answer your question then please, comment below.

Ad

Answer this question