virtualx-engine/scene
Marcel Admiraal 750f343e4a Ensure move_and_slide() is consistent between the 2D and 3D versions.
In the 3D version:
- Partially revert #20908 that was reverted in the 2D version as part
  of #21653. This ensures that the Vector returned is always perpendicular
  to the surface collided with; and not the floor_normal Vector passed to
  the function when on a floor.
- Include an update of the floor velocity before multiplying by the time
  delta, which was added to the 2D version as part of commit 13a8014.

In the 2D version:
- Use the Vector2.slide() function instead of Vector2.tangent() to adjust
  the amount of motion the stop_on_slope undoes to ensure that it is in the
  right direction. This is a implementation of the 3D approach from #30588.
- Combine the !found_collision and motion == Vector2() checks for break.
- Other minor formating changes to make the functions look identical.

Also renamed some variables to align with their use.
2019-12-02 08:35:50 +01:00
..
2d Ensure move_and_slide() is consistent between the 2D and 3D versions. 2019-12-02 08:35:50 +01:00
3d Ensure move_and_slide() is consistent between the 2D and 3D versions. 2019-12-02 08:35:50 +01:00
animation Handle state machine travel before the start node is processed 2019-11-30 02:41:40 +01:00
audio Some code changed with Clang-Tidy 2019-06-26 15:08:25 +02:00
debugger Implement game camera override 2019-10-23 02:51:32 +01:00
gui Fixed caret alignment with placeholder text 2019-12-01 14:27:39 +00:00
main Added more details in Timer.start() error message. 2019-11-27 14:11:15 -05:00
resources Only display Environment sky rotation in degrees in the Inspector 2019-11-26 18:57:29 +01:00
register_scene_types.cpp Remove unused stb_truetype-based DynamicFont implementation 2019-10-03 01:19:02 +02:00
register_scene_types.h Remove redundant author doc comments 2019-08-12 04:26:38 -05:00
scene_string_names.cpp
scene_string_names.h
SCsub Implement game camera override 2019-10-23 02:51:32 +01:00