Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (408)
games submitted by our members
Games in WIP (293)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  JOODE: joint problem  (Read 832 times)
0 Members and 1 Guest are viewing this topic.
Offline arne

Senior Member




money is the worst drug- we should not let it rule


« Posted 2006-04-08 17:44:06 »

Ok I tried the test cases also without my changes - same thing. So I think its not my code, so I'll commit it, because it makes reading probably a big deal easier.

but never the less we'll have to investigate, why the following test cases don't work:

CubeSliderTest - no movement
KinematicLoop - no movement
TwoBodyBallTest - no movement
TwoBodyHingeTest - no movement

attached to this problem might be the issue, that I had to change that line in Geom.java:
1  
this.parent_space = space;

to
1  
this.parent_space = null;

please note, that I actually only rechanged that line to how it was in version 1.5 of Geom.java.
@hdietrich: why did you change it?

mmh I just noted, that in TwoBodyBallTest, it doesn't print "step". Maybe simply it's not stepped.

:: JOODE :: Xith3d :: OdeJava ::
Offline arne

Senior Member




money is the worst drug- we should not let it rule


« Reply #1 - Posted 2006-04-08 18:00:32 »

nope - it's stepping - the view gets refreshed

:: JOODE :: Xith3d :: OdeJava ::
Offline arne

Senior Member




money is the worst drug- we should not let it rule


« Reply #2 - Posted 2006-04-08 18:21:18 »

mmh somehow the forces applied at the beginning get removed before the first step, because, if I apply them later on it works just fine. - damn me - that's me the problem maker! It's because of my FPS thingi: Because the stepsize is unknown at the first frame, I simply have it set as 0 (better do less in the first frame than too much) So the applied forces have no result! (0s of 20000N has no effect!) - so no real bug Smiley

:: JOODE :: Xith3d :: OdeJava ::
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline hdietrich

Junior Member




Harald Dietrich


« Reply #3 - Posted 2006-04-09 09:14:30 »

attached to this problem might be the issue, that I had to change that line in Geom.java:
1  
this.parent_space = space;

to
1  
this.parent_space = null;

please note, that I actually only rechanged that line to how it was in version 1.5 of Geom.java.
@hdietrich: why did you change it?

Damn, I was accidentially checking in this piece of code. I must have messed up the changes I have made to the geometry objects with some tests I have done to see what has to be cleaned up and what can be cleaned up. I am sorry!
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars and Titan!

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (147 views)
2013-05-17 21:29:12

alaslipknot (154 views)
2013-05-16 21:24:48

gouessej (185 views)
2013-05-16 00:53:38

gouessej (179 views)
2013-05-16 00:17:58

theagentd (189 views)
2013-05-15 15:01:13

theagentd (174 views)
2013-05-15 15:00:54

StreetDoggy (217 views)
2013-05-14 15:56:26

kutucuk (242 views)
2013-05-12 17:10:36

kutucuk (240 views)
2013-05-12 15:36:09

UnluckyDevil (246 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
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!
Page created in 0.085 seconds with 20 queries.