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 / 5423
5422  |  5424
Subject: 
Re: On the difficulty of making building instructions
Newsgroups: 
lugnet.cad
Date: 
Thu, 8 Feb 2001 03:28:17 GMT
Viewed: 
521 times
  
I think I have a nice solution to the 3-dimensional movement.

Depending on what side of the brick you mouse on, its movement is constrained.
Style 1: you mouse on a brick's side, it's like you can only push or pull it
in a straight line. Click on top and you can move it around the baseplate or
whatever. It "Floats" on top of the highest brick already there.

Style 2: (accessible on pushing Control key) when you click on any flat
surface, you get to drag the brick in a plane flush with that surface. Use
this to make a brick float up in space.

By default, all movement is in steps of 1x1 brick or plates.

This is all implemented in a perspective view, by the way.

There is a big hairy data structure, basically a sparse matrix of those 1x1
plates, that marks what spots are occupied by pieces, for detecting collisions.

-Erik



Message is in Reply To:
  Re: On the difficulty of making building instructions
 
(...) BlockCad (and perhaps other programs) does some collision detection when moving the bricks to assist in the placement. You could enhance this by inventing a mouse that provides some tactile feedback (ala playstation controllers) when the (...) (24 years ago, 7-Feb-01, to lugnet.cad)

7 Messages in This Thread:





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

Custom Search

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