Okay, so I recently learned that using fp,world.create and fp.world.recycle is better than add and remove
However, my entire game is filled with “add” and “remove” commands. Replacing the “remove” to “recycle” was easy, but “add” to “create” is tricky!
Currently, I’ve tried changing from
FP.world.add(new Box);
to
FP.world.create(new Box);
But I know it’s supposed to be something like
FP.world.create(new Box as Box);
But that gives me an error.
Thank you