jit.gl.light lookat problem
Hi everyone,
Could be a simple thing I'm missing but can't figure it out.
I just want to get a jit.gl.light @type spot and make it look at the co-ordinates 0 0 0 in world space, simply put if the lamp moves that it keeps looking at 0 0 0 .
Adding the argument @lookat 0 0 0 doesn't seem to do anything.
Any tips ?
attach a jit.anim.node @locklook 1 to your spotlight.
Thanks Rob, works perfectly and a whole new world opened up for me !