|
Post by dynast on Nov 11, 2022 12:04:57 GMT
Hey,
I'm on Unity 2021.3.13f1, I'm using URP 12.1.7
I enabled the Parallax on the Camera Pro 2D, I'm doing a side scrolling adventure game full sprite. Each light 2D got a layer according to the parallax layers, and they got sorting layers also for the scene organisation, everything is ok with a standard Ortho Camera Component.
But since I use Camera Pro 2D and enabled Parallax : when I put light 2D into my scene and go PlayMode, they appeared on another position, I figured another position on Y. If I put a light 2D close to the bottom of the frame, it appears close to the top of the frame, so my current solution is to place the light close to the top in Editor so it appears at the right place in PlayMode ....
But the volume from the light 2d doesn't follow this logic, it stays at the light 2d position from Editor.
It would be absolutely marvellous to just get these light2D working with same position in Editor and Playmode, any ideas ? am I missing something ? From my point of view this is some sort of crucial to get light 2d working with a Parrallax mode, but I found anything anywhere about this topic.
Thanks ! My bests.
|
|
|
Post by Luís Pedro Fonseca on Nov 12, 2022 19:14:10 GMT
dynast Thanks for using ProCamera2D. There's a component called "ProCamera2DParallaxObject" that allows you to place GameObjects during Edit mode, which are then re-positioned at Play mode to match that position. Give that a try and let me know how it goes.
|
|