godot/servers/physics_2d
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
..
godot_area_2d.cpp Add area to moved list when changing monitorable, 2021-11-20 06:57:34 +00:00
godot_area_2d.h Separate space override modes for gravity/damping in Area 2021-11-09 10:29:24 -07:00
godot_area_pair_2d.cpp Add area to moved list when changing monitorable, 2021-11-20 06:57:34 +00:00
godot_area_pair_2d.h Add area to moved list when changing monitorable, 2021-11-20 06:57:34 +00:00
godot_body_2d.cpp Fix RigidDynamicBody gaining momentum with bounce 2021-11-25 09:51:57 -07:00
godot_body_2d.h Fix RigidDynamicBody gaining momentum with bounce 2021-11-25 09:51:57 -07:00
godot_body_direct_state_2d.cpp Expose local center of mass in physics servers 2021-11-08 16:17:57 -07:00
godot_body_direct_state_2d.h Expose local center of mass in physics servers 2021-11-08 16:17:57 -07:00
godot_body_pair_2d.cpp Fix RigidDynamicBody gaining momentum with bounce 2021-11-25 09:51:57 -07:00
godot_body_pair_2d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_broad_phase_2d.cpp Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_broad_phase_2d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_broad_phase_2d_bvh.cpp Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_broad_phase_2d_bvh.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_collision_object_2d.cpp Rename remove() to remove_at() when removing by index 2021-11-23 18:58:57 -07:00
godot_collision_object_2d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_collision_solver_2d.cpp Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_collision_solver_2d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_collision_solver_2d_sat.cpp Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_collision_solver_2d_sat.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_constraint_2d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_joints_2d.cpp Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_joints_2d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_physics_server_2d.cpp Merge pull request #54810 from nekomatata/area-separate-override-modes 2021-11-11 15:11:21 -07:00
godot_physics_server_2d.h Separate space override modes for gravity/damping in Area 2021-11-09 10:29:24 -07:00
godot_shape_2d.cpp Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_shape_2d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_space_2d.cpp Fix rest_info returning no result with high margin and low motion 2021-11-17 11:47:30 -07:00
godot_space_2d.h Use parameter classes instead of arguments for all physics queries 2021-11-04 11:44:39 -07:00
godot_step_2d.cpp Fix physics BVH pairing for teleported or fast moving objects 2021-11-16 14:51:37 -07:00
godot_step_2d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
SCsub