defold-orthographic
defold-orthographic copied to clipboard
Can you make a "follow multiple game objects"?
Split into two requests. Second one: https://github.com/britzl/defold-orthographic/issues/9
How would the "follow multiple game objects" work? I'm guessing it would center the camera on a midpoint?
Yeap! Thanks!
@britzl I tried to make a PR for this issue, I realized that the target URL is kept with a go property, so because go property is not supporting table of hashes what is your suggested way of keeping multiple URLs and passing it from camera.script to camera.lua?
one solution that i can think of is to store the target table in camera.lua and create set, get functions in it, so camera.script can access those targets. i made a PR https://github.com/britzl/defold-orthographic/pull/30 but it needs some discussion