- Home /
Question by
lightnarcissus · Sep 17, 2013 at 01:29 PM ·
guitextureraycastalphameshcollider
Dynamic Alpha Gradient Texture Collision Detection
I'm using about six different alpha gradient textures on-screen --each of them using a simple quad.
Problem is I want to raycast hit-detect the object I'm clicking at but the results can be very erratic because the "mesh collider" using quad's default mesh doesn't take into account the alpha gradient.
Is there any way to work around this? Even as a GUI texture possibly? Although I don't know if it's possible to raycast hit-detect a GUI texture.
Comment
Your answer
Follow this Question
Related Questions
Help with destroying guiRect? 0 Answers
Fading a GUI.DrawTexture? 2 Answers
How can I add a distance cap to this script? 3 Answers
RaycastHit textureCoords return Vector2.zero on iOS only despite proper setup 2 Answers
Movie GUI Texture Alpha? 1 Answer