Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Detect if a player hits the mesh itself - rather than the part?

I'm wondering if anyone knows how to do this, I've read that it is possible, using Ray Casting, but I don't know what Ray Casting is, nor have I ever scripted it.

I've tried a simple onTouch script with the mesh, to test, but it don't work, and gives an error saying Touched is not a valid member of Mesh.

By the way, I can't resize the actual part itself, because it is welded. Resizing the part breaks the weld.

1 comment

1

You can't touch the mesh, only the part. The mesh is sorta like a decal, or a texture, but in 3d. You can't touch decals, or textures, and you can't touch meshes.

2 answers

✓ Accepted answer

Unfortunately Not possible. Though if CSG supports EVERY mesh in the future(it does not currently) You may be able to union the mesh in question, and assuming by then that union collision is working, it would work fine.

We will have to wait and see.

This is not possible.

-- If this answered your question, please remember to +1 Vote and Mark as Answer!

This discussion is preserved as it was. New answers, comments, and votes are closed.