Results 1 to 6 of 6
  1. #1
    Join Date
    Dec 2008
    Posts
    25
    Rep Power
    0

    Exclamation Is there any way to do this ? ...

    I wanted to know if there is anyway to tell if there is an object at a given direction in 3D? And maybe calculate the distance between a given origin and direction?

    Thanks

  2. #2
    TenF is offline Member
    Join Date
    Aug 2009
    Posts
    8
    Rep Power
    0

    Default

    I don't think such an object exists by default, but you can program one yourself. I know, because I did ;)

  3. #3
    Join Date
    Dec 2008
    Posts
    25
    Rep Power
    0

    Default

    Is there any chance you could give me some pointers?

  4. #4
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    You might need to give us more information about the specifics of your problem, because right now we know nothing. Also, there's no way to calculate a distance based on a direction only. Are you working in a Euclidian 3-space? spherical 3-space? The details will probably be important.

  5. #5
    emceenugget is offline Senior Member
    Join Date
    Sep 2008
    Posts
    564
    Rep Power
    7

    Default

    what they all said. we can't help you with anything if we don't even know if you've got any code set up to properly do so.

  6. #6
    Join Date
    Dec 2008
    Posts
    25
    Rep Power
    0

    Default

    Maybe i should have been clearer. What I meant was are there are any built-in functions to do such a thing.

    I havent got any code setup at the moment because I am in the middle of deciding whether I want to use java or not.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •