Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (533)
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 1039 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.

 

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

The first screenshot will be displayed as a thumbnail.

pw (24 views)
2014-07-24 01:59:36

Riven (22 views)
2014-07-23 21:16:32

Riven (18 views)
2014-07-23 21:07:15

Riven (21 views)
2014-07-23 20:56:16

ctomni231 (50 views)
2014-07-18 06:55:21

Zero Volt (45 views)
2014-07-17 23:47:54

danieldean (36 views)
2014-07-17 23:41:23

MustardPeter (39 views)
2014-07-16 23:30:00

Cero (54 views)
2014-07-16 00:42:17

Riven (54 views)
2014-07-14 18:02:53
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
java-gaming.org 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‑gaming.org
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!