|
Post by eststb on Dec 30, 2021 21:02:17 GMT
First things first, thank you for this wonderful asset! So far it works like a charm and I have been able to achieve almost everything needed for my game.
I'm using numeric boundaries a lot, as I'm using it to block sight on certain zones and use a "free" camera all the time, I'm not using rooms as they are not useful for me in this case. What's happening is that whenever I use a Numeric Boundaries Trigger you can notice the camera "bumps" a little and in the editor you can see the Numeric Boundaries updating, but instead of updating from the current numeric boundary, they update from the camera itself, its like they're being reset each time a new trigger is used. Since I'm also using Forward Focus, it's far too noticeable.
So, is it possible to modify this behaviour? Is it because I'm using Forward Focus? Should I create my own trigger that Updates each Boundary from that point? I understand I can modify them manually by getting the ProCamera2DNumericBoundaries component from my camera.
That's pretty much it, so far my quick fix has been setting a low Transition duration and using only Ease Out as the ease type, I'm also updating all boundaries each time (Top, Bottom, Left and Right). That makes it slightly less noticeable but it still looks like if there's a framedrop or a small hiccup.
Thanks in advance, Cheers! (and Happy Holidays!!)
|
|
|
Post by eststb on Jan 3, 2022 12:25:39 GMT
I decided to try and create my own trigger, and so far works great, there are no "hiccups" anymore. Simply used a trigger collider to fire the event and then I simply lerp the values from ProCamera2DNumericBoundaries. So thanks anyway! I'll use the new trigger from now on but would be cool to know if the original Numeric Boundaries Trigger is supposed to work like that or maybe I was doing something wrong.
Happy new year everyone!
|
|
|
Post by Luís Pedro Fonseca on Jan 3, 2022 13:23:44 GMT
eststb Sorry for missing your first post. For some reason I didn't get a notification. If you'd like please send me a small project that reproduces the issue you're having (ideally only using the included ProCamera2D demo assets) and I'll have a look. Either way, I'm glad you found a workaround for it. Happy new year!
|
|
|
Post by eststb on Jan 3, 2022 14:19:04 GMT
No problem at all!
I'll try to replicate the issue on a new project and let you know if it still happens. Might take a while though.
|
|