virtualx-engine/servers/physics_3d
PouleyKetchoupp 7032cf0637 Fix RigidDynamicBody gaining momentum with bounce
Bounce calculation now uses the previous frame's velocity, so it's
consistent with the actual motion of the bodies involved and not the
yet-to-be-applied forces.

When bounce is 1, using the current velocity was causing the new forces
(including gravity) to be taken into account, which lead to the bounce
velocity to be higher than the falling velocity at the moment of impact,
adding more and more energy over time.
2021-11-25 09:51:57 -07:00
..
joints clang-format: Various fixes to comments alignment from clang-format 13 2021-10-28 15:43:36 +02:00
gjk_epa.cpp Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
gjk_epa.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_area_3d.cpp Add area to moved list when changing monitorable, 2021-11-20 06:57:34 +00:00
godot_area_3d.h Separate space override modes for gravity/damping in Area 2021-11-09 10:29:24 -07:00
godot_area_pair_3d.cpp Add area to moved list when changing monitorable, 2021-11-20 06:57:34 +00:00
godot_area_pair_3d.h Add area to moved list when changing monitorable, 2021-11-20 06:57:34 +00:00
godot_body_3d.cpp Fix RigidDynamicBody gaining momentum with bounce 2021-11-25 09:51:57 -07:00
godot_body_3d.h Fix RigidDynamicBody gaining momentum with bounce 2021-11-25 09:51:57 -07:00
godot_body_direct_state_3d.cpp Expose local center of mass in physics servers 2021-11-08 16:17:57 -07:00
godot_body_direct_state_3d.h Expose local center of mass in physics servers 2021-11-08 16:17:57 -07:00
godot_body_pair_3d.cpp Fix RigidDynamicBody gaining momentum with bounce 2021-11-25 09:51:57 -07:00
godot_body_pair_3d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_broad_phase_3d.cpp Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_broad_phase_3d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_broad_phase_3d_bvh.cpp Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_broad_phase_3d_bvh.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_collision_object_3d.cpp Rename remove() to remove_at() when removing by index 2021-11-23 18:58:57 -07:00
godot_collision_object_3d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_collision_solver_3d.cpp Fix contact generation with backface collision disabled 2021-11-17 17:57:02 -07:00
godot_collision_solver_3d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_collision_solver_3d_sat.cpp Fix contact generation with backface collision disabled 2021-11-17 17:57:02 -07:00
godot_collision_solver_3d_sat.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_constraint_3d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_joint_3d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_physics_server_3d.cpp Merge pull request #54810 from nekomatata/area-separate-override-modes 2021-11-11 15:11:21 -07:00
godot_physics_server_3d.h Separate space override modes for gravity/damping in Area 2021-11-09 10:29:24 -07:00
godot_shape_3d.cpp Fix contact generation with backface collision disabled 2021-11-17 17:57:02 -07:00
godot_shape_3d.h Fix contact generation with backface collision disabled 2021-11-17 17:57:02 -07:00
godot_soft_body_3d.cpp Rename remove() to remove_at() when removing by index 2021-11-23 18:58:57 -07:00
godot_soft_body_3d.h Rename remove() to remove_at() when removing by index 2021-11-23 18:58:57 -07:00
godot_space_3d.cpp Fix rest_info returning no result with high margin and low motion 2021-11-17 11:47:30 -07:00
godot_space_3d.h Use parameter classes instead of arguments for all physics queries 2021-11-04 11:44:39 -07:00
godot_step_3d.cpp Fix physics BVH pairing for teleported or fast moving objects 2021-11-16 14:51:37 -07:00
godot_step_3d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
SCsub SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00