Detecting collision/intersection of a line/cylinder through a 3D object

This is a discussion on Detecting collision/intersection of a line/cylinder through a 3D object within the Game Programming forums, part of the General Programming Boards category; I'm working on a special case collision detection where I have a cylinder that intersects some object in a scene. ...

  1. #1
    Registered User
    Join Date
    Oct 2007
    Posts
    9

    Detecting collision/intersection of a line/cylinder through a 3D object

    I'm working on a special case collision detection where I have a cylinder that intersects some object in a scene. The cylinder can be considered a simple line, or actually two points that make up each end of the cyl. I've been trying to simply use picking by rendering from the cylinder's point of view (looking from one end toward the other) and testing depth, but I'm a little frustrated right now and am wondering if there is a better (simpler) way.

    Any ideas would be helpful in stimulating my stagnant brain.

    Cheers!

  2. #2
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    Use AABBs or sphere's for a trivial rejection test. If that passes then do a per-triangle intersection test.

  3. #3
    Registered User
    Join Date
    Oct 2007
    Posts
    9
    I'm very new to any type of collision detection. How is the per-triangle intersection test accomplished?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Easiest 3D Engine
    By audinue in forum Game Programming
    Replies: 4
    Last Post: 07-06-2008, 11:41 PM
  2. How to rotate child objects in 3D
    By Arianiv in forum Game Programming
    Replies: 11
    Last Post: 04-03-2008, 05:09 AM
  3. ERRPR: Object reference not set to an instance of an object
    By blackhack in forum C++ Programming
    Replies: 1
    Last Post: 07-13-2005, 05:27 PM
  4. A question about constructors...
    By Wolve in forum C++ Programming
    Replies: 9
    Last Post: 05-04-2005, 04:24 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21