From 0a720a2259aa7b10475854964ebf74900456d229 Mon Sep 17 00:00:00 2001 From: nathansmithsmith Date: Mon, 31 Jul 2023 19:36:10 -0600 Subject: Sergente stuff working --- src/entities/soldato.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/entities/soldato.c') diff --git a/src/entities/soldato.c b/src/entities/soldato.c index f4ef912..46a0e23 100644 --- a/src/entities/soldato.c +++ b/src/entities/soldato.c @@ -37,13 +37,15 @@ void initSoldato(Entity * entity, Game * game) { .controller.bangbang.speed = 50, .controller.bangbang.stopAt = 0.0, .controlType = ENTITY_FLY_TO_POINT_BANG_BANG, - .rotationSpeed = 50.0 + .rotationSpeed = 50.0, + .applyRotation = true }; data->flyToPointFollowing = (EntityFlyToPointInfo){ .controller.speedPID = createPID(followingPID), .controlType = ENTITY_FLY_TO_POINT_PID, - .rotationSpeed = 50.0 + .rotationSpeed = 50.0, + .applyRotation = true }; } -- cgit v1.2.3