https://github.com/westonhanners/dynamicscrossframeworktest
Testing the possibility of using UIDynamicAnimator as a cross framework Physics Engine
https://github.com/westonhanners/dynamicscrossframeworktest
Last synced: 2 months ago
JSON representation
Testing the possibility of using UIDynamicAnimator as a cross framework Physics Engine
- Host: GitHub
- URL: https://github.com/westonhanners/dynamicscrossframeworktest
- Owner: WestonHanners
- Created: 2014-03-29T17:54:23.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-03-29T17:59:38.000Z (about 11 years ago)
- Last Synced: 2025-01-05T14:45:52.256Z (4 months ago)
- Language: Objective-C
- Size: 145 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
DynamicsCrossFrameworkTest
==========================Testing the possibility of using UIDynamicAnimator as a cross framework Physics Engine
This is a test to prove a concept:
The UIDynamicAnimator does not care what its animating, as long as it responds to the UIDynamicItem protocol. I hypothesized that one could cause SpriteKit Nodes and UIView views to animate and collide in the UIDynamicAnimator.
I had to implement bounds, center and transform in SKNode to achieve this, and the project currently works (kind of)
TODO:
Flip coordinate plane in SpriteKit so that it looks correct.Implement transform for SKNode (I am not sure on the math for this yet)
I will gladly except pull requests to implement these features.