How to add position limits to childs that aren't camera?

So I’m trying to add a vignette to the camera of my game.

The camera is a child of the player but has vertical limits, this way it follows the player horizontally, but always stays in the same place vertically.

The problem is, I’m adding the vignette as a child to the camera, but it follows the player’s position (grand-parent) instead of the camera’s (parent), and doesnt inherit of that vertical limit property.


Does anyone know how to solve this?

Maybe you can try to make a canvasLayer as the parent of your vignette, or straightly make your vignette as a canvasLayer

I dont know how it works, but it does work! Thank you!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.