|
Cereza Winx
Registered User
Join date: 29 Jan 2007
Posts: 5
|
04-10-2007 16:57
Hi,
I'm learning some script functions and I would like to know if it's possible to point the light to a specific place or it's applied as radious light.
I don't know if you understand me (sorry, I'm Spanish and my English is not too good), I want to do something like a torch, but I have only achieved to do something like a light globe.
I'm using the "llSetPrimitiveParams([PRIM_POINT_LIGHT,..." function.
Thanks ^^
|
|
Jopsy Pendragon
Perpetual Outsider
Join date: 15 Jan 2004
Posts: 1,906
|
04-10-2007 17:22
I'm pretty certain the answer is "no". But you can "Fake" it. If you have a (Real lightbulb) ....................................... (target of light) Try: (Fake lightbulb) .....................(real light) ... (target of light) Make the "Real light" an invisible prim closer to the area of where your focused light is pointing.... that way it will light up things your "fake lightbulb" is pointed at. 
|
|
Dominguez Brentano
Registered User
Join date: 20 Apr 2006
Posts: 87
|
04-11-2007 05:00
or alternatively, if the light is static, you could bake some textures to make nice shadows and stuff  although I expect that's pretty hard!
|