JohnSundell / JohnSundell/ImagineEngine

Rotate Actor around pivot point.

Open
#164 4 comments 0 reactions 0 assignees View on GitHub
improvement
Dominant language
Swift
Stars
1.8k
Forks
104
PR merge metrics
No merged PRs in 30d

Description

I would like to rotate `Actor` with `UIImage` to rotate around a defined pivot point but I have not been able to find how to achieve this.

When I tried to find a solution, the best answer was this: https://stackoverflow.com/questions/27658454/swift-rotating-an-image-in-an-uiimageview-defined-in-the-main-storyboard

What I am trying to achieve:

![demo](https://raw.githubusercontent.com/fortmarek/issue_images/master/Apple%20Watch%2038mm_0-20.gif)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.