Re: collisions

New Message Reply Date view Thread view Subject view Author view

Jim Helman (jimh++at++surreal)
Thu, 30 Jun 94 12:02:32 -0700


> customer is doing collision detection between ownship and models
> in his database - he fires off intersection rays and gets hit
> coordinates returned that are related to his ownship's distance
> from the world's center, not related to the distance between
> the ownship and the model
   
1) The line segments need to be constructed in world space around the
   ownship.

2) To avoid detecting ownship, the line segments need to either start
   outside the ownship model or intersection masks set to ignore ownship.

If the customer follows these two rules, it should work fine.
   
> also, what is the proper method to use to determine if his ownship
> intersects a moving model? collisions with SCS objects works just
> fine, but the DCS objects are absolute to the distance from the
> origin and not the relative distance between models

Hmm... the behavior of SCSes and DCSes should be identical. Is the
user transforming the pfHit collision point into world space? Hits
are returned in the local coordinates as specified in the pfGeoSet.
If the SCSes have been "flattened" to identity matrices during
database loading, the behavior will be different, since the
flattened geometry now now includes the transformation formerly
represented in the SCS.
   
rgds,

-jim helman

jimh++at++surreal.asd.sgi.com
415/390-1151


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:22 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.