Hello everybody, i’m new in Blender and new in the forum, so Hello !!
I’m trying to open a window-like information when i click on an object (Something like the windows with text in a final fantasy game), i’m able to click and call a python script, when the script executes don’t show any error, but don’t draw any text :(, somebody can give a tip, thanks in advance !!!
###########################
import Blender
femur_izq=Blender.Object.Get(“Femur_Izq”)
print “Inicio del Script”
print femur_izq # Works…
Blender.BGL.glColor3i( 255, 255, 255 )
Blender.BGL.glRasterPos2i( 20, 20 )
str = Blender.Draw.Text(“Hola Mundo”, ‘large’)
retval = Blender.Draw.Redraw()
Dont show nothing
###########################
I’m also try using a 3D Text, but i cannot use
txt = Blender.Object.Get(“Txt_Desc”) # Works
txt.write(“Prueba”) # Error
I’m making for my learning a human skeleton that when the user clicks on a bone the game engine will open a text with information about the Bone… Any help it’s !!! Thanks !