Remove gizmo shenanigans
This commit is contained in:
@@ -80,13 +80,10 @@ pub fn update_ecb(
|
||||
&FighterTranslation,
|
||||
&FighterFacingDirection,
|
||||
)>,
|
||||
mut gizmos: Gizmos
|
||||
) {
|
||||
for (mut ecb, surface_state, bone_indices, bone_matrices, translation, facing_dir) in query {
|
||||
let trf = translation.get_3d_transform(facing_dir);
|
||||
|
||||
gizmos.cross(trf.get_translation().to_vec3(), 2.0, bevy::color::palettes::css::BLUE);
|
||||
|
||||
let transformed_ecb_bones = bone_indices.indices.iter().filter_map(|idx| {
|
||||
let Some((_, bone_matrix)) = bone_matrices.get_by_idx(*idx) else {
|
||||
return None;
|
||||
|
||||
Reference in New Issue
Block a user