Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (753)
Games in Android Showcase (228)
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   
Pages: [1]
  ignore  |  Print  
  [ODEJAVA] Problems limiting angles  (Read 1471 times)
0 Members and 1 Guest are viewing this topic.
Offline Nozing

Junior Newbie

« Posted 2007-01-23 12:07:10 »

Hello guys!

I have problem when I limit angles on hinges or amotors. The problem is that it doesn't work. I have the next code:

hin0 = robot.joints.get(0);

"hin0" is a JointHinge and I have a JointAMotor joining the same two bodies as "hin0" and with the same values in the dParamLoStop and dParamHiStop. The aMotor has a velocity and a force.

I have read the ode manual and I have searched information on the net but I don't know what is happening. Somebody knows how can I do?

Offline biggeruniverse

Senior Newbie

That's just peanuts to space.

« Reply #1 - Posted 2007-02-01 11:42:24 »

How much force does the AMotor have?
Offline Nozing

Junior Newbie

« Reply #2 - Posted 2007-02-05 10:49:27 »

Thank you for your help but I find the error.

I don't set the bouncyness param to the hinge and the force of the motor was too big.

Now, with the bounce set to 1 and the motor force set to 10 all works.

Thank you very much. See you.
Pages: [1]
  ignore  |  Print  

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

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

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

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

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

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

buddyBro (690 views)
2018-02-28 16:59:18

buddyBro (90 views)
2018-02-28 16:45:17

xxMrPHDxx (492 views)
2017-12-31 17:17:51

xxMrPHDxx (728 views)
2017-12-31 17:15:51
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!