How do I change the value of "Size" in Camera3D resources using mouse wheel? #387
-
So I'm making a top down 2.5D game, and I use PCam3D as the camera. I use orthogonal projection, so in order to zoom in or out, it used the "Size" parameter. I already assign key for zoom_in and zoom_out, and assign them to mousewheel, so my question is how do I control the value of "Size" using the zoom_in and zoom_out key? Also how do I make an export parameter for the increment too? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Should be able to set the size using the property. E.g.
Not entirely sure what you mean by this. What are you looking to achieve? |
Beta Was this translation helpful? Give feedback.
Short answer, you can't at the minute due to how it's currently set up.
This would be part of the refactor task (#161) that's currently being planned, as there are some complications with adjusting the distance during runtime. E.g. how the camera should behave if you adjust the distance and in so doing would cause the
dead zone
to be t…