To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 11786
11785  |  11787
Subject: 
Re: on Collision, stop Movement
Newsgroups: 
lugnet.cad
Date: 
Sun, 15 Aug 2004 22:46:38 GMT
Viewed: 
1015 times
  
In lugnet.cad, Travis Cobbs wrote:
There's already been a lot of discussion on doing "clickable" building using an
additional connection database, and that's certainly doable.  Do a search for
LCD, or LDraw Connection Database, or see here:

http://www.ldraw.org/modules.php?op=modload&name=News&file=article&sid=135

What I was saying is that there's no easy way to do it purely based on the
geometry.

--Travis

I looked into the LCD discussions.  I'm sure it's quite sound.

My experience with collision checking emanates from game programming.  I teach a
class derived from Dr. Mark Overmar's Game Maker software.  In it I teach  kids
how to define bounding boxes for 2D and isometric games.  All I know is that
when an object moves into a grid, a check is made to see if it's plane (bounding
box) interects with another.

I suppose, since there are no tolerances in ldr parts, then a test for equality
would work to determine a collision event and a "click" action. So any move in
MLCAD will only be allowed to be completed to the point of intersect with
another plane.

Game Maker version 6, to be released soon, is supposed to have 3D capability.
If so, then I suppose Dr. Overmars should have the algorithms for 3D collision
checking.  If anyone from the Netherlands has an in with the author of RcxX,
then perhaps we could tap into his knowledge of the matter.



Message has 1 Reply:
  Re: on Collision, stop Movement
 
(...) 3D collision detection is conceptually very simple, and isn't even too difficult to actually implement. If you want it to be fast, you can probably even download a free software library to do it for you. But please re-read what I said, because (...) (20 years ago, 16-Aug-04, to lugnet.cad, FTX)

Message is in Reply To:
  Re: on Collision, stop Movement
 
There's already been a lot of discussion on doing "clickable" building using an additional connection database, and that's certainly doable. Do a search for LCD, or LDraw Connection Database, or see here: (URL) I was saying is that there's no easy (...) (20 years ago, 15-Aug-04, to lugnet.cad)

23 Messages in This Thread:








Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR