A
A
Alexey Mistin2015-07-17 15:56:35
Sprites
Alexey Mistin, 2015-07-17 15:56:35

How to apply gravity to objects in Sprite Kit Swift?

Hello.
There are two objects in Sprite Kit Swift, how can I make these objects attract each other according to the law of attraction? (Or that there was one object motionless, and other objects were attracted to it).
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question