Different states on Restart Simulation Button done

This commit is contained in:
Luis Fernando Molina committed 2019-05-15 19:07:19 +02:00
1 parent 562bc0dc52
commit 5181f2fcd8
3 files changed
+78 -11

No files matched your search

+8
View File
@@ -64,6 +64,14 @@
}
function physics () {
thisObjectPhysics()
childrenPhysics()
}
function childrenPhysics () {
thisObject.restartSimulation.physics()
}
function thisObjectPhysics () {
/* Check the limits */
thisObject.status = 'MIDDLE'