This commit is contained in:
2026-02-16 09:43:57 -08:00
parent 86a60009dd
commit 384be4149a

View File

@@ -41,7 +41,9 @@ impl<'a> PlayerWorker<'a>{
Instruction::SessionControl(session_control_instruction)=>{},
Instruction::SessionPlayback(session_playback_instruction)=>{},
Instruction::Render=>{
self.graphics_thread.send(strafesnet_roblox_bot_player::graphics::Instruction::Render{pos:glam::Vec3::ZERO,angles:glam::Vec2::ZERO});
self.playback_head.advance_time(&self.bot,ins.time);
let (pos,angles)=self.playback_head.get_position_angles(&self.bot,ins.time);
self.graphics_thread.send(strafesnet_roblox_bot_player::graphics::Instruction::Render{pos,angles});
},
Instruction::Resize(physical_size)=>{},
}