gel.sprite: Fix apply force.

This commit is contained in:
Rod Kay
2023-10-21 12:35:10 +11:00
parent 0b6e063d29
commit 4fa47e7396
2 changed files with 3 additions and 2 deletions

View File

@@ -709,7 +709,8 @@ is
is is
the_Force : aliased constant Vector_3 := Force; the_Force : aliased constant Vector_3 := Force;
begin begin
Self.World.apply_Force (Self'unchecked_Access, the_Force); Self.Solid.apply_Force (Force);
-- Self.World.apply_Force (Self'unchecked_Access, the_Force);
end apply_Force; end apply_Force;

View File

@@ -437,7 +437,7 @@ is
Force : in Vector_3) Force : in Vector_3)
is is
begin begin
null; to_Sprite.apply_Force (Force);
-- Self.physics_Engine.apply_Force (to_Sprite.Solid, Force); -- Self.physics_Engine.apply_Force (to_Sprite.Solid, Force);
end apply_Force; end apply_Force;