Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (475)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (530)
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  
  Collision detection- what is best?  (Read 893 times)
0 Members and 1 Guest are viewing this topic.
Offline Breakfast

Senior Member




for great justice!


« Posted 2003-03-15 22:37:41 »

So, I've got my little dude, lets call him bob, and he's walking around a landscape using a pick-ray in front of him to find the level of the ground and move up or down accordingly. Looks fine, although his uphill foot sinks in a bit if he is walking across a slope. Now it's time to complicate matters.

Lets suppose I need to put objects and structures in the world and make them interact with bob in some way. I guess I'm talking about collision detection. How is it best to go about this?

As far as I can tell, the main ways are either to use bounding and picking to handle my collisions or to do something more code-based and take the whole thing out of java3D's hands altogether- using a map-based system or similar. I'm not really sure how good Java3D is as far as this is concerned- Selman suggests that for anything bigger than a few objects it is worth taking it out of Java3D-  if I need to do this, does anyone have any thoughts, ideas or  links to tutorials about to how best to get started? If not, are there any tips for how best to implement it through J3d?  
Offline shawnkendall

Senior Member





« Reply #1 - Posted 2003-03-16 00:05:30 »

Java3D's utils collision API is ok for prototyping, but it's not production level, or maybe even play-production level. :-)

Look into writting your on collision system for sure.

Shawn Kendall
Cosmic Interactive, LLC
http://www.facebook.com/BermudaDash
Offline Ifadolai

Junior Member




Java forever!!


« Reply #2 - Posted 2003-03-17 14:09:10 »

We have thread for this discussion already:

http://www.java-gaming.org/cgi-bin/JGOForums/YaBB.cgi?board=3D;action=display;num=1045494099

Nikolai V. Christensen, Computer Engineer,
Simulation and Training department
IFAD, Forskerparken 10A, DK-5230 Odense M
Denmark, EU
Phone: +45 63 15 71 31  Fax: +45 65 93 29 99
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.

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

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

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

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

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

Riven (48 views)
2014-07-14 18:02:53

OpenGLShaders (37 views)
2014-07-14 16:23:47

Riven (37 views)
2014-07-14 11:51:35

quew8 (33 views)
2014-07-13 13:57:52

SHC (70 views)
2014-07-12 17:50:04
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!