gel.sprite: Fix apply force.
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user