Commit Graph

36 Commits

Author SHA1 Message Date
lawnjelly
3a191189ca Physics interpolation - fix streaking when unhiding nodes
The data flow to the VisualServer of current and previous transforms is essential for allowing correct interpolation. An optimization was present that disabled sending transforms when nodes were hidden, however this meant that when unhidden, nodes would interpolate incorrectly from the last transform received when hiding, rather than the up to date previous transform.

This PR disables the optimization and sends always sends transforms when a node is interpolated.
2022-07-27 13:06:20 +02:00
lawnjelly
4d6dda4df0 Fix CPUParticles emission updating using physics interpolation
When switching emission on and off, processing was always being switched on and off using internal_process, which was incorrect for using physics interpolation (where physics_process is the relevant one).

This PR correctly updates the process mode according to whether physics interpolation is being used.
2022-07-26 15:03:37 +02:00
8275f6b161 Ported: Add missing argument names in bindings - akien-mga
21c3048397
2022-07-25 23:51:34 +02:00
Hugo Locurcio
371b5513d3 Allow size values as low as 0.001 in Camera's orthogonal/frustum mode
This allows for lower field of view (or higher zoom) in orthogonal
and frustum camera modes.

The property hint also allows setting the size with greater precision.
2022-07-25 18:19:48 +02:00
Pedro J. Estébanez
ff5bae8d0e Fix crash when passing null to AudioStreamPlayer::set_stream() 2022-07-25 18:09:39 +02:00
Ellen Poe
94c765d065 instance audio streams before AudioServer::lock call 2022-07-25 17:58:48 +02:00
fabriceci
75a882d02e Fix wrong collision reported on move_and_collide 2022-07-25 17:31:13 +02:00
accd8458c8 Backported: Rename iterations_per_second to physics_ticks_per_second - Calinou - 937c1a716c 2022-03-24 11:10:56 +01:00
32f148ac0c Mass replaced godot to pandemonium. 2022-03-23 20:46:05 +01:00
c9b612f012 Added StringName as a variant type, with eventually the help of 3c0059650d . 2022-03-21 21:29:06 +01:00
5ab825ddf8 Backported: Bind mesh merging functionality in MeshInstance. The portal system introduced basic mesh merging functionality, this has wide ranging uses outside of the portal system.
For this reason, this PR binds the mesh merging functionality.
It also slightly modifies the calling from RoomManager to use a Vector of Node *, in order to allow binding of the function. - lawnjelly - cf1b3fdd55
2022-03-20 20:50:58 +01:00
34c3176c39 Fix skinning by default in MeshInstance even if the mesh is merged. 2022-03-20 14:13:44 +01:00
4d7df62b8e Clang format all files. 2022-03-18 19:00:13 +01:00
8fbdcd18f9 Same change to classes under scene. 2022-03-17 22:57:56 +01:00
678ee45c4f Move back shape's include to the header in collision object. 2022-03-17 21:02:40 +01:00
44bd2e0119 Added destructors to physics bodies to hopefully fix failing compile on some platforms. 2022-03-17 20:00:20 +01:00
3965d70ac5 Moved more includes to cpp files. 2022-03-17 19:35:23 +01:00
84d139213d Moved more includes to cpp files. 2022-03-17 10:39:38 +01:00
052027dce4 Moved more includes to cpp files. 2022-03-17 10:26:23 +01:00
6bae38ca23 Moved more includes to cpp files. 2022-03-17 09:31:00 +01:00
c621049e61 Moved more includes to cpp files. 2022-03-17 09:07:18 +01:00
38fc0c402e Moved more includes from headers to cpp files. 2022-03-17 08:38:34 +01:00
c1ebd9905a Moved more includes. 2022-03-16 21:09:41 +01:00
eeb7c04aaf Moved more includes to cpp files. 2022-03-16 20:53:38 +01:00
d996789533 Moved more includes from headers to cpp files. 2022-03-16 20:46:00 +01:00
f105eba923 Moved more includes from headers to cpp files. 2022-03-16 20:40:41 +01:00
e85cef1745 Run godot's formatting script. 2022-03-16 09:02:48 +01:00
ce953ad1d6 Removed the arvr nodes. 2022-03-16 01:57:33 +01:00
aaf91df4c1 Also removed the MeshLibrary. 2022-03-16 01:30:44 +01:00
a9fca142bc Fully removed Particles and Particles2D, as they were not implemented in gles2. 2022-03-16 00:06:53 +01:00
c0dfdd77f3 Removed particles editor plugins. 2022-03-15 22:25:33 +01:00
e111edf4f2 Cleaned up (hopefully all remaining) light baking things. 2022-03-15 21:07:14 +01:00
6fac6ba7f7 Removed lightmap captures, and also cleaned up almost all lightmap stuff. 2022-03-15 19:57:34 +01:00
03890f9e38 Removed GIProbes. 2022-03-15 19:03:03 +01:00
9e6d2fa653 Removed the Lightmapper and BakedLightmap classes. 2022-03-15 15:45:56 +01:00
49f8e8c398 Added godot with all my currently used engine modules. 2022-03-15 13:29:32 +01:00