Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (603)
Games in Android Showcase (171)
games submitted by our members
Games in WIP (652)
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: About Car simulation on: 2005-04-17 16:21:32
The car demo seems to work by adding force, but In my simulation, I would like to set the wheel speed directly, so the change might be more drastic...
2  Game Development / Game Mechanics / About Car simulation on: 2005-04-17 14:32:02
I have created a car with four wheels. Two were JointHinge2 type(for motor), two were JointBall(for support only).

I will set the velocity of two JointHinge2 wheels directly to control the car. What's more, I would like the velocity immediately changed to the value I set, so I set the dParamFMax to Max of float.

However, When I implement it, the car will bounce when velocity suddenly has a large change. What can I do to avoid this bounce and have a smooth car movement?
3  Game Development / Game Mechanics / Re: [ODEjava] how to use Ode.dCollide()? on: 2005-03-13 15:35:23
The reason is that I would like to simulate an infra-red sensor, which will return the distance data of the nearest object on its radial way.

The infra-red sensor can be used for avoiding obstacle.

The principle is quite like a GeomRay, which can be used to get the distance between its origin and the contact point with another object.

So I would like to use the ODE.dCollide() for it. In fact, the GeomRay is not quite useful for me, what I want to get is the distance which will be returned by the function.

I hope I have explained clearly.  I don't know how to set the parameters for the dCollide() function.

I will be glad to know if there's better method.  Smiley

4  Game Development / Game Mechanics / [ODEjava] how to use Ode.dCollide()? on: 2005-03-09 21:29:42
Ode.dCollide(SWIGTYPE_p_dGeomID o1,SWIGTYPE_p_dGeomID o2,int flags,dContactGeom contact,int skip);

How can I determine the 'flags' and 'skip' parameter?
The document said flags is the num of collide data you want to get, but if I want to get all, how to set it?

What' more, the 'skip' is the size of dContactGeom class, how to get its size?

5  Game Development / Game Mechanics / Re: [OdeJava] About dCollide function on: 2005-03-03 11:50:10
To be more specific, i would like to get the distance from a specific point with a specific direction to its nearest object in the Virtual Environment. It's something like a
ray and the object it shine on.

So I would first try to create a GeomRay object, and then use the dCollide function to get the distance. But I have the problems in using the function as I have mentioned.Sad
6  Game Development / Game Mechanics / [OdeJava] About dCollide function on: 2005-03-01 08:06:35
Ode.dCollide(SWIGTYPE_p_dGeomID o1,SWIGTYPE_p_dGeomID o2,int flags,dContactGeom contact,int skip);

I would like to use this function to get the distance between the start point of a GeomRay and the Geom it contacts with.

How should I set the parameter flags and skip? I don't know the size of dContactGeom object.  

Pages: [1]
SHC (21 views)
2015-08-01 03:58:20

Jesse (19 views)
2015-07-29 04:35:27

Riven (39 views)
2015-07-27 16:38:00

Riven (21 views)
2015-07-27 15:35:20

Riven (24 views)
2015-07-27 12:26:13

Riven (14 views)
2015-07-27 12:23:39

BurntPizza (35 views)
2015-07-25 00:14:37

BurntPizza (46 views)
2015-07-24 22:06:39

BurntPizza (28 views)
2015-07-24 06:06:53

NoxInc (36 views)
2015-07-22 22:16:53
List of Learning Resources
by gouessej
2015-07-09 11:29:36

How Do I Expand My Game?
by bashfrog
2015-06-14 11:34:43

List of Learning Resources
by PocketCrafter7
2015-05-31 05:37:30

Intersection Methods
by Roquen
2015-05-29 08:19:33

List of Learning Resources
by SilverTiger
2015-05-05 10:20:32

How to: JGO Wiki
by Mac70
2015-02-17 20:56:16

2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21 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!