#Rotating a 2d triangle for 180 degrees (so it "looks down")
2 messages · Page 1 of 1 (latest)
If you have a MaterialMesh2dBundle, that has a Transform, so if you are in 2d the Z-axis is towards/away from you, so I would use https://docs.rs/bevy_transform/0.11.0/bevy_transform/components/struct.Transform.html#method.rotate_z with an angle argument of 180.0.to_radians() and that should work
Describe the position of an entity. If the entity has a parent, the position is relative to its parent position.