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

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

Asked by
TopDev 0
10 years ago

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
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. Zerio920 285 — 10y

2 answers

Log in to vote
1
Answered by
iaz3 190
10 years ago

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.

Ad
Log in to vote
-3
Answered by 10 years ago

This is not possible.

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

Answer this question