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 / 11791
11790  |  11792
Subject: 
Re: on Collision, stop Movement
Newsgroups: 
lugnet.cad
Date: 
Mon, 16 Aug 2004 04:20:56 GMT
Viewed: 
1155 times
  
In lugnet.cad, Edwin Pilobello wrote:
   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.

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 I still maintain that it won’t work for clicking virtual LEGO bricks together.

Think of the following example. Take a 2x4 brick, and rotate it 13 degrees around the X axis. Now take another one and perform the same rotation, then try to line it up to click on top of the first. In order for the click to happen, you have to get it into exactly the right position, and then move it down at a 77 degree angle. And since the tolerances are zero, I just don’t see how this is going to be possible. If you know that there are “click points”, then the software can detect that two click points are close together, and then automatically perform the click. However, I really don’t see how you would be able to determine click points based purely on the geometry in the LDraw file.

--Travis Cobbs



Message has 1 Reply:
  Re: on Collision, stop Movement
 
(...) I'm very sure you're right about using LDRAW geometry. I'm not so sure about LCD. In my opinion, it would be beneficial to think in terms of making individual objects with associated ldr files and properties (20 years ago, 16-Aug-04, to lugnet.cad, FTX)

Message is in Reply To:
  Re: on Collision, stop Movement
 
(...) 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 (...) (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