From 25db91f39e2ea67be6abde461bc8befc650f7389 Mon Sep 17 00:00:00 2001 From: hut Date: Fri, 29 Mar 2024 16:33:12 +0100 Subject: [PATCH] implement controls and basic collisions --- src/actor.rs | 14 -------------- src/camera.rs | 21 +++++++++++++-------- src/main.rs | 4 +--- src/world.rs | 15 +++++++++++++++ 4 files changed, 29 insertions(+), 25 deletions(-) diff --git a/src/actor.rs b/src/actor.rs index 80e8823..067d7dd 100644 --- a/src/actor.rs +++ b/src/actor.rs @@ -11,7 +11,6 @@ impl Plugin for ActorPlugin { app.register_type::(); app.add_systems(FixedUpdate, ( update_physics_lifeforms, - update_physics_actors, )); app.add_systems(Update, ( handle_new_conversations, @@ -187,19 +186,6 @@ const SUIT_SIMPLE: Suit = Suit { integrity: 1e5, }; -pub fn update_physics_actors( - time: Res