![]() |
|
#2
|
|||
|
|||
|
First check to see if the intersected object is the quad, then get the name attribute you assigned to it. Does that work for you?
Code:
import viz viz.go() myTexQuad = viz.addTexQuad(pos=[0,1.8,2]) myTexQuad.name = "texQuadCustomName" info = viz.intersect([0,1.8,0],[0,1.8,4]) if info.valid: if info.object == myTexQuad: print myTexQuad.name |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Determine specific quad from intersection | Novakin | Vizard | 1 | 02-19-2016 01:25 AM |
| Attach a TexQuad to pit.osgb screen | Ducky | Vizard | 1 | 01-17-2013 02:57 PM |
| TexQuad (viz.screen) and alpha issues | kovitch | Vizard | 2 | 05-17-2012 10:28 AM |
| Using a texquad to cover a window | Enlil | Vizard | 4 | 02-07-2012 03:13 PM |
| texquad | shai | Vizard | 1 | 02-23-2005 01:09 PM |