diff --git a/src/load_bsp.rs b/src/load_bsp.rs index 9224aaa..687c2bd 100644 --- a/src/load_bsp.rs +++ b/src/load_bsp.rs @@ -85,6 +85,10 @@ pub fn generate_indexed_models(input:&mut R)->Res groups, instances:vec![crate::model::ModelInstance{ attributes:crate::model::CollisionAttributes::Decoration, + transform:crate::integer::Planar64Affine3::new( + crate::integer::Planar64Mat3::default(), + valve_transform(<[f32;3]>::from(world_model.origin)) + ), ..Default::default() }], }