Skip to content

WestonHanners/DynamicsCrossFrameworkTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Testing the possibility of using UIDynamicAnimator as a cross framework Physics Engine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published