Yes, according to the radius they have different "gravity" values. Since kinematic bodies don't have a mass one need to work around that.Do the planets have different gravity values?
Yes I tried that as well.I got frustrated that I couldn't get a stable orbit around a single planet though
it's from years of playing Elite Frontier and trying to get into a stable orbit using manual engine controlNicely done.
Yes I tried that as well.
Tip: change the stars angle interval to 1.
-86
-86
-86
-86
-86
-86
-86
-86
-86
-87
-87
-87
-87
-87
-87
-87
-87
-87
Trim Cache
Before: 31482924
After: 7529704
java.lang.RuntimeException: java.lang.NullPointerException
at anywheresoftware.b4a.keywords.Common$2$1.run(Common.java:1020)
at com.sun.javafx.application.PlatformImpl.lambda$null$172(PlatformImpl.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$173(PlatformImpl.java:294)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$null$147(WinApplication.java:177)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException
at b4j.example.bitmapcreator._drawrotatedcbc(bitmapcreator.java:2490)
at b4j.example.x2spritegraphiccache._getgraphic2(x2spritegraphiccache.java:544)
at b4j.example.x2spritegraphiccache._getgraphic2(x2spritegraphiccache.java:515)
at b4j.example.x2spritegraphiccache._getdrawtask(x2spritegraphiccache.java:404)
at b4j.example.x2bodywrapper._createdrawtaskbasedoncache(x2bodywrapper.java:119)
at b4j.example.x2bodywrapper._updategraphic(x2bodywrapper.java:251)
at b4j.example.x2bodywrapper._tick(x2bodywrapper.java:237)
at b4j.example.x2utils$ResumableSub_MainLoop.resume(x2utils.java:922)
at anywheresoftware.b4a.keywords.Common$2$1.run(Common.java:1018)
... 7 more
Can you upload the project?
X2.ConfigureDimensions( X2.CreateVec2( WorldWidth / 2, WorldHeight / 2 ), WorldWidth * .9 )
For Each m As Map In data.MapsOfCompressedBCs
Dim zero As CompressedBC = m.Get(0) '<--- new
m.Clear
m.Put(0, zero) '<--- new
Next
Very good pointI am in line with the flatness. It is box2D.