Skip to main content
Tweeted twitter.com/#!/StackGameDev/status/331542339828977664
deleted 4 characters in body; edited tags; edited title
Source Link
House
  • 73.5k
  • 17
  • 188
  • 276

OpenGL: 3-D box Detecting collision with a 3D array bounding box collissionof boxes

I am at the stage of my development process where I want to implement collision. Now iI can think of a simple way of doing it, if the "camera"'scamera's x,y y or z are inside the position of a certain cube then don't let the camera move in the direction it hit the object. Seems simple enough.

theThe thing is iI think this will be pretty intensive for collision detection. I am using a 3-D3D array for my cubes, and I think there maybe is a way to simplify it by using this array... I just don't know how.. If there isn't a way because the camera can move freely is the idea that I suggested a good way of doing collision? itIt will only be ranrun on 1one group of cubes, the one you are above at X point in time.. Cubes are static at every point in time.

OpenGL: 3-D box array bounding box collission

I am at the stage of my development process where I want to implement collision. Now i can think of a simple way of doing it, if the "camera"'s x,y or z are inside the position of a certain cube then don't let the camera move in the direction it hit the object. Seems simple enough.

the thing is i think this will be pretty intensive for collision detection. I am using a 3-D array for my cubes, and I think there maybe is a way to simplify it by using this array... I just don't know how.. If there isn't a way because the camera can move freely is the idea that I suggested a good way of doing collision? it will only be ran on 1 group of cubes, the one you are above at X point in time.. Cubes are static at every point in time.

Detecting collision with a 3D array of boxes

I am at the stage of my development process where I want to implement collision. Now I can think of a simple way of doing it, if the camera's x, y or z are inside the position of a certain cube then don't let the camera move in the direction it hit the object. Seems simple enough.

The thing is I think this will be pretty intensive for collision detection. I am using a 3D array for my cubes, and I think there maybe is a way to simplify it by using this array. I just don't know how. If there isn't a way because the camera can move freely is the idea that I suggested a good way of doing collision? It will only be run on one group of cubes, the one you are above at X point in time. Cubes are static at every point in time.

Source Link

OpenGL: 3-D box array bounding box collission

I am at the stage of my development process where I want to implement collision. Now i can think of a simple way of doing it, if the "camera"'s x,y or z are inside the position of a certain cube then don't let the camera move in the direction it hit the object. Seems simple enough.

the thing is i think this will be pretty intensive for collision detection. I am using a 3-D array for my cubes, and I think there maybe is a way to simplify it by using this array... I just don't know how.. If there isn't a way because the camera can move freely is the idea that I suggested a good way of doing collision? it will only be ran on 1 group of cubes, the one you are above at X point in time.. Cubes are static at every point in time.