i have a map i maded in 3dstudio max , the map calls test.3DS but now i whont to move in the map but , i realy dont know how i can do that .
i hope you can help me .
i know only the basic of C++ .
how to move in your game
The collision tutorial (#07.Collision) covers this...
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
I always wonder why people download Irrlicht and don't have a look for what's coming with it !?!?!
The directory structure of the sdk isn't that complicated...
The directory structure of the sdk isn't that complicated...
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
ok thanks
this code
this code
Code: Select all
scene::ICameraSceneNode* camera =
smgr->addCameraSceneNodeFPS(0, 100.0f, 300.0f, -1, 0, 0, true);
camera->setPosition(core::vector3df(-100,50,-150));
scene::ISceneNodeAnimator* anim = smgr->createCollisionResponseAnimator(
selector, camera, core::vector3df(30,50,30),
core::vector3df(0,-3,0),
core::vector3df(0,50,0));
camera->addAnimator(anim);
anim->drop();
Yes, that's correct, and for the level you'll have to create a collision response, too !!!
Look how it's done for the Quake map and simply change it to your map...
Look how it's done for the Quake map and simply change it to your map...
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
i have a error but dont know how to solve it .
its says there is someting wrong in the selector .
------ Build started: Project: Project1, Configuration: Debug Win32 ------
Compiling...
game.cpp
.\game.cpp(67) : error C2065: 'selector' : undeclared identifier
Build log was saved at "file://c:\Documents and Settings\Eigenaar\Bureaublad\Counter strike 9.0 my game\Project1\Debug\BuildLog.htm"
Project1 - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
its says there is someting wrong in the selector .
------ Build started: Project: Project1, Configuration: Debug Win32 ------
Compiling...
game.cpp
.\game.cpp(67) : error C2065: 'selector' : undeclared identifier
Build log was saved at "file://c:\Documents and Settings\Eigenaar\Bureaublad\Counter strike 9.0 my game\Project1\Debug\BuildLog.htm"
Project1 - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
You are using a variable named 'selector' without having told the compiler the type of the variable. This is a basic C++ question.
Code: Select all
ITriangleSelector* selector;