remove old fix for rotated entites from BTB
This commit is contained in:
@@ -13,7 +13,6 @@ use bevy::{
|
|||||||
};
|
};
|
||||||
use bevy_trenchbroom::prelude::*;
|
use bevy_trenchbroom::prelude::*;
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
use std::f32::consts::PI;
|
|
||||||
|
|
||||||
#[point_class(base(Transform), model({ "path": "models/spawn.glb" }))]
|
#[point_class(base(Transform), model({ "path": "models/spawn.glb" }))]
|
||||||
#[derive(Default)]
|
#[derive(Default)]
|
||||||
@@ -124,7 +123,6 @@ impl EnemySpawn {
|
|||||||
|
|
||||||
let mut this_transform = *this_transform;
|
let mut this_transform = *this_transform;
|
||||||
this_transform.translation += Vec3::new(0., 1.5, 0.);
|
this_transform.translation += Vec3::new(0., 1.5, 0.);
|
||||||
this_transform.rotate_y(PI);
|
|
||||||
|
|
||||||
let head = this.head.clone();
|
let head = this.head.clone();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user