bevy/crates/bevy_transform/src
James Beilby f584e72953 Add Transform::rotate_around method (#3107)
# Objective

- Missing obvious way to rotate a transform around a point. This is popularly used for rotation of an object in world space ("orbiting" a point), or for local rotation of an object around a pivot point on that object.
- Present in other (not to be named) game engines
- Was question from user on Discord today (thread "object rotation")

## Solution

- Added Transform::rotate_around method where point is specified in reference frame of the parent (if any) or in world space.
2022-02-04 02:09:24 +00:00
..
components Add Transform::rotate_around method (#3107) 2022-02-04 02:09:24 +00:00
hierarchy Added docs for bevy_transform (#3516) 2022-01-14 18:47:48 +00:00
lib.rs Added docs for bevy_transform (#3516) 2022-01-14 18:47:48 +00:00
transform_propagate_system.rs Down with the system! (#2496) 2021-07-27 23:42:36 +00:00