Started with gdk a bit ago now and i am trying to set it up so the player can walk and follow the ground here is the error
1>------ Build started: Project: Dark GDK - 3D Game1, Configuration: Debug Win32 ------
1>Compiling...
1>Main.cpp
1>c:\documents and settings\greendixy\my documents\visual studio 2008\projects\dark gdk - 3d game1\dark gdk - 3d game1\level.h(33) : error C3861: 'SC_SetupObjectComplex': identifier not found
1>Build log was saved at "file://c:\Documents and Settings\GreenDixy\My Documents\Visual Studio 2008\Projects\Dark GDK - 3D Game1\Dark GDK - 3D Game1\Debug\BuildLog.htm"
1>Dark GDK - 3D Game1 - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Here is the terrain simple basic terrain
dbSetupTerrain ( ); // set up terrain library
dbMakeObjectTerrain ( 1 ); // make a new terrain
dbSetTerrainHeightMap ( 1, "Media/terrain/map.bmp" ); // set the terrain height map
dbSetTerrainScale ( 1, 30, 0.9f, 30 ); // set the scale
dbSetTerrainSplit ( 1, 16 ); // set the split value
dbSetTerrainTiling ( 1, 4 ); // set the detail tiling
dbSetTerrainLight ( 1, 1.0f, -0.25f, 0.0f, 1, 1, 0.78f, 0.5f ); // set the light
dbSetTerrainTexture ( 1, 1, 2 ); // set the textures
dbBuildTerrain ( 1 ); // build the terrain
dbPositionObject( 1, 350, -40, 509);
SC_SetupObjectComplex ( 1, 2, 2 );
Here is the player setup i appreciate any help possible on allowing the char to walk on the terrain.
int obj = 50;
dbLoadObject ( "Media/People/scifi/AI.x", obj );
dbScaleObject ( obj, 100, 100, 100 );
dbPositionObject( obj, 350, 0, 509);
dbYRotateObject( obj,180 );
dbObjectAngleY(obj);
dbFixObjectPivot( obj );
dbTextureObject ( obj, 87 );
SC_SetupObject( obj, 0, 1 );
Edit: Forgot to add i do have #include "SC_Collision.h" in the files
===================
No life, Lots of love, 2 Kids, God save me LOL