MCPcopy Create free account
hub / github.com/DarkZek/RustCraft / try_move

Method try_move

lib/rc_shared/src/aabb.rs:161–185  ·  view source on GitHub ↗

Returns the maximum movement allowed before collision with another `Aabb`

(&self, mut movement: Vector3<f32>, other: &Aabb)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

try_translateMethod · 0.80
aabb_vs_aabb_move_test_xFunction · 0.80
aabb_vs_aabb_move_test_yFunction · 0.80
aabb_vs_aabb_move_test_zFunction · 0.80

Calls

no outgoing calls

Tested by 4

aabb_vs_aabb_move_test_xFunction · 0.64
aabb_vs_aabb_move_test_yFunction · 0.64
aabb_vs_aabb_move_test_zFunction · 0.64