Merge pull request #5670 from timoschwarzer/feature/camera2d_limit_smoothing
Add an option to smooth camera limits when camera smoothing is enabled.
This commit is contained in:
commit
9a35ed5d54
3 changed files with 53 additions and 7 deletions
|
|
@ -6888,6 +6888,14 @@
|
|||
Set the scrolling limit in pixels.
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_limit_smoothing_enabled">
|
||||
<argument index="0" name="enable" type="bool">
|
||||
</argument>
|
||||
<description>
|
||||
Smooth camera when reaching camera limits.
|
||||
This requires camera smoothing being enabled to have a noticeable effect.
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_offset">
|
||||
<argument index="0" name="offset" type="Vector2">
|
||||
</argument>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue