Hi there,
Would you like to join me ??
I'am Also creating a 3D Engine Using C# & DirectX 9.0 ....
My current Engine can Do:
-Work in customized Fullscreen or window mode.
-Input readings from mouse and keyborad.
-Draw 2D maps on screen and as billborads.
-A console like Quake's (Only reads inputs, Still no commands to work)
-Can load .X files with texutres.
-Code is clean and readable.
plz contact me on: ennetws@hotmail.com.
Main Topics
Browse All Topics





by: giuseppemagPosted on 2003-09-18 at 05:13:31ID: 9385552
Do this: since you are probably trying to get leading edge performance for your 3d game, you'll have to divide your level in a tree, where each node is made up by a mesh: you render each node only if it is visible or not too far. To perform the collision detection on each mesh, you have to:
-find in which mesh you are;
-using I3DXIntersect determine wether a ray starting from the character position and going down (0, -1, 0 is the direction) intersects that mesh;
-then you will want to check also other rays, for example the direction you are moving towards;