Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (539)
Games in Android Showcase (133)
games submitted by our members
Games in WIP (603)
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?

Thanks!
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.  

Thanks!
Pages: [1]
 

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

The first screenshot will be displayed as a thumbnail.

rwatson462 (37 views)
2014-12-15 09:26:44

Mr.CodeIt (31 views)
2014-12-14 19:50:38

BurntPizza (62 views)
2014-12-09 22:41:13

BurntPizza (99 views)
2014-12-08 04:46:31

JscottyBieshaar (60 views)
2014-12-05 12:39:02

SHC (74 views)
2014-12-03 16:27:13

CopyableCougar4 (77 views)
2014-11-29 21:32:03

toopeicgaming1999 (138 views)
2014-11-26 15:22:04

toopeicgaming1999 (127 views)
2014-11-26 15:20:36

toopeicgaming1999 (38 views)
2014-11-26 15:20:08
Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50
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!