will this help with vehicle exiting? still seems random...

This commit is contained in:
yuni 2024-03-30 18:51:21 +01:00
parent 26b974ea16
commit 80aed73264

View file

@ -1,4 +1,5 @@
use bevy::prelude::*;
use bevy::transform::TransformSystem;
use bevy_xpbd_3d::prelude::*;
use crate::{nature, settings, actor, audio, hud};
@ -19,7 +20,7 @@ impl Plugin for ActorPlugin {
handle_conversations,
handle_input,
handle_chat_scripts,
handle_vehicle_enter_exit,
handle_vehicle_enter_exit.after(PhysicsSet::Sync).before(TransformSystem::TransformPropagate),
handle_collisions,
));
app.add_event::<StartConversationEvent>();