#get an entity's local rotation
3 messages · Page 1 of 1 (latest)
You can print it like this rs fn print_rot(query: Query<&mut Transform, (With<Cuuube>, Changed<Transform>)>) { for xform in query.iter() { println!("xform: {:?}", xform.rotation.to_euler(EulerRot::XYZ)) } }
You might be surprised by the result, however, if you apply euler angles individually