INNER CODE UNIT · Rust

default

dust-engine/dust · crates/character/src/lib.rs:112

    fn default() -> Self {
        Self {
            radius: 0.3,
            height: 1.8,
            eye_height: 1.6,
            walk_speed: 4.0,
            sprint_multiplier: 2.0,
            air_control: 4.0,
            // Reaches about one unit high under the default gravity.
            jump_speed: 6.3,
            gravity: 20.0,
            step_height: 0.3,
            fly_speed: 12.0,
            mouse_sensitivity: 0.002,
            third_person_distance: 4.0,
            min_ground_normal_y: 0.7,
            ground_probe: 0.05,
            yaw: 0.0,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…