Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (754)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (842)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Game Development / Game Mechanics / Re: Phys2D FixedJoint unstable? on: 2008-05-20 18:47:00
I don't remember what determinism is in computer science.  Smiley  I meant that if you set up a physical scenario with ODE, and let it run twice, you'll get two different outcomes.  A box that falls on its corner near a ledge might topple off the ledge on one run, and then on the next run, tip back and settle on the ledge.  Like this guy says:

Box2D does appear to be worth trying, so I'll move on to that and keep my Phys2D exploration on hold for now.  I know of JBox2D, and I would prefer to use that since it's pure Java--but maybe Java bindings to Box2D itself would also be worthwhile.  I don't immediately see any of those around though.
2  Game Development / Game Mechanics / Phys2D FixedJoint unstable? on: 2008-05-20 03:48:18
Hi, I've recently tried Phys2D and found it generally good, and possibly applicable to the game I'm making.  However I'm troubled by an instability I've observed:  When I connect a chain of several objects via FixedJoints--say, four small boxes widely spaced in a U-shape, sort of like in Phys2D's Demo19--and drop the resulting shape onto a floor, it bounces and wiggles a bit, as one might expect, but the bouncing gradually becomes worse until the shapes simply fly out of sight.  Demo19 looks deceptively stable in comparison to this scenario, but I tried copying its setup and tweaking it a little, and I reproduced the same thing pretty easily.  Why does this happen?  Does Phys2D belong to some general class of physics engines of which this sort of instability is a basic feature?  Or is it conceivable that somebody could write a nicer, stabler FixedJoint without too much trouble?  My game is currently using ODE, which hasn't this problem...  though it is very unfortunately saddled with that nasty third dimension.  I don't know what people see in that thing.  Smiley

Special bonus question:  Cursory online research suggests that ODE is nondeterministic; experimentation suggests that Phys2D (and therefore perhaps Box2D et al) is deterministic.  Is this correct?  Is JOODE nondeterministic?  My game likes determinism!
Pages: [1]
DesertCoockie (22 views)
2018-05-13 18:23:11

nelsongames (74 views)
2018-04-24 18:15:36

nelsongames (68 views)
2018-04-24 18:14:32

ivj94 (751 views)
2018-03-24 14:47:39

ivj94 (81 views)
2018-03-24 14:46:31

ivj94 (605 views)
2018-03-24 14:43:53

Solater (97 views)
2018-03-17 05:04:08

nelsongames (178 views)
2018-03-05 17:56:34

Gornova (388 views)
2018-03-02 22:15:33

buddyBro (1048 views)
2018-02-28 16:59:18
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!