Hi !
Featured games (85)
games approved by the League of Dukes
Games in Showcase (636)
Games in Android Showcase (178)
games submitted by our members
Games in WIP (688)
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 / joode jointhinge velocity on: 2007-10-04 22:28:05
Is dJointGetHingeAngleRate implemented in Joode? It would be useful for me to be able to get the actual rate of the joint, not just the rate commanded by the limot. Addditionally, having an implementation of the universal joint would be really helpful. I know I can attach two hinges to an interstitial joint, but then I have to deal with corner rubbing and maked sure there's enough clearance for rotation. That makes my model physically unrealistic, and I'd like the dimensions to be as close as possible to the real world. Thanks,

- Josh
2  Game Development / Game Mechanics / Joode universal joint on: 2007-07-24 21:45:19
Is there an implemenation of the universal joint type in joode? I've tried do it with a JointConfigurable, but that results in explosions. Here's the code I'm using, where the coordinate system is that imposed by Xith (x viewer right, y local gravity up, z out of screen).

    JointConfigurable hip = new JointConfigurable(getWorld());
    hip.attach(torsoBody, thighBody);
    hip.setAnchor1(new Vector3(sign * TORSO_RADIUS, TORSO_LENGTH/2, 0)); //relative to torso center
    hip.setAnchor2(new Vector3(sign * THIGH_WIDTH, -THIGH_WIDTH/2, THIGH_LENGTH/2)); //relative to thigh center
    hip.angularConstraints[0] = JointConfigurable.MOTOR_CONSTRAINT; //X, Pitch has motor
    hip.angularConstraints[1] = JointConfigurable.UNBOUNDED_CONSTRAINT; //Y, Yaw is unbounded
    hip.angularConstraints[2] = JointConfigurable.MOTOR_CONSTRAINT; //Z, Roll has motor

If anyone has just a simple universal joint class, or advice on how to implement it with JointConfigurable, I'd be very appreciative. Thanks,
- Josh

Pages: [1]
Dwinin (74 views)
2015-11-07 13:29:08

Rems19 (81 views)
2015-10-31 01:36:56

Rems19 (79 views)
2015-10-31 01:32:37

williamwoles (107 views)
2015-10-23 10:42:59

williamwoles (93 views)
2015-10-23 10:42:45

Jervac_ (112 views)
2015-10-18 23:29:12

DarkCart (137 views)
2015-10-16 00:58:11

KaiHH (118 views)
2015-10-11 14:10:14

KaiHH (158 views)
2015-10-11 13:26:18

BurntPizza (173 views)
2015-10-08 03:11:46
Rendering resources
by Roquen
2015-11-13 14:37:59

Rendering resources
by Roquen
2015-11-13 14:36:58

Math: Resources
by Roquen
2015-10-22 07:46:10

Networking Resources
by Roquen
2015-10-16 07:12:30

Rendering resources
by Roquen
2015-10-15 07:40:48

Math: Inequality properties
by Roquen
2015-10-01 13:30:46

Math: Inequality properties
by Roquen
2015-09-30 16:06:05

HotSpot Options
by Roquen
2015-08-29 11:33:11 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!