HI,
I wanted to try to change the Camera projection from script with:
msg.post("@render:", "use_fixed_projection", { near = -1, far = 1, zoom = 4 })
I use the default render script to try this out but nothing happens. I tried the other projections with the message aswell, but it always stays the same.
I call this from the player script on the character which will spawn from a collectionfactory. That Gameobject “player” has the camera on it.
I tried send this message from the main script aswell but nothing happens.
I can change the Zoom on my orthographic 2D camera and it works and all is zoomed, but when I try the same over msg.post() nothing happens.
What do i miss here?