mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Add comment about fragility of solution
This commit is contained in:
parent
86b9e2d8e6
commit
a82f5ca057
@ -160,6 +160,10 @@ impl<'a> System<'a> for Sys {
|
||||
// We offset position a little back on the way,
|
||||
// so if we hit non-exploadable block
|
||||
// we still can affect blocks around it.
|
||||
//
|
||||
// TODO: orientation of fallen projectile is
|
||||
// fragile heuristic for direction, find more
|
||||
// robust method.
|
||||
let projectile_direction = orientations
|
||||
.get(entity)
|
||||
.map_or_else(Vec3::zero, |ori| ori.look_vec());
|
||||
|
Loading…
Reference in New Issue
Block a user