Hi!
Can you please tell me if it is possible to attach particles or light sources to a character, regardless of its size in a particular scene? Those. something like:
local c = Characters["name"]
shaderActivateLighting(1)
shaderLamp(0, 1, {1000,500,1}, {0,0,0}, {0.01,0.005,0}, {0,0,0}, {1,1,1}, 1)
bind("light1", "lights[0].position",
shaderPoint(inverty(scrollfix(offset(field("Characters.name.Position"),{0+c.Size.x\3, 0+c.Size.y\2}))),10))
--place a dot in the middle of the character sprite at Y , and 1/3 at X, at any sprite size. The idea is, for example, if the character carries a torch, a lantern, etc.
Of course, I can assign new bindings from scene to scene, but if there is an easier solution, that would be great. Thank you.