C++ Tutorial:: 3D Collision Detection

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
7,957
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jun 10, 2009

In this tutorial I go over the basic concept of collisoin detection with spheres.

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 6 dislikes

Link to this comment:

Share to:

Uploader Comments (dexxx83)

  • excelent tutorial, but i have a question, if used in 3d environment i'd just have to add the third parameter for depth and that would be a bounding sphere, but what if i need to find a collision between a bounding sphere and a binding box?

  • Yeah for 3D you would just add a thrid parameter. You might want to check out my vector class one that I have, it shows you a more effective way of making these. Im not to sure on the box though.

  • I used hypercam, and visual studios c++ express

see all

All Comments (9)

Sign In or Sign Up now to post a comment!
  • why is he so excitedv and over hyped?

  • nyahhhhh welcome to another c++ tutorial

  • hello thanks for view my videos i create a new canal. is: mrmexcianpower17lg

  • don't sound so excited...

  • @videosnax he used an Unregistered Hypercam program, it shows right at the top left corner.

  • So what about in a 3D environment? Would you get the position of an object using some sort of GetX(), GetY(), and GetZ() functions, take the area of the object, and as long as the second objects' location is relative to the location of the first objects', test for the size of the area (if (object2.area <= object1.area) { stop_animation();}) ? And then of course, add a bunch of physics to calculae how far the object is "thrown" and stuff...

  • what program did you use? the text looks nice and clear.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more