MCPcopy Create free account
hub / github.com/Schr3da/gdext-rust-tutorials / physics_process

Method physics_process

getting-started/rust/src/player.rs:16–19  ·  view source on GitHub ↗
(&mut self, delta: f64)

Source from the content-addressed store, hash-verified

14 }
15
16 fn physics_process(&mut self, delta: f64) {
17 let radians = (3.14 * delta) as f32;
18 self.base_mut().rotate(radians);
19 }
20}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected