eccentric fov implementation

This commit is contained in:
2026-02-06 09:25:37 -08:00
parent 2304f19239
commit 8f6b7bb8da

View File

@@ -79,7 +79,7 @@ fn run_roblox_bot_in_strafe_client_physics(physics_data:&PhysicsData,block:&v0::
// Reset
run!(time,Instruction::Mode(ModeInstruction::Reset));
// generate an instruction to set the sensitivity (sens is also based on fov in rbhop, but pure in strafe client)
let fov=90.0;
let fov=1.0;//tan(90)
let zoom=1.0;
let pixels_to_radians=setting.event.value*fov*zoom/128.0;
// convert radians to Angle32