Smooth mixed 1st + 3rd Person Camera Scene Node (for RPG)
-
- Posts: 206
- Joined: Thu Sep 01, 2005 9:26 pm
- Location: France
-
- Posts: 322
- Joined: Tue Aug 30, 2005 10:34 am
- Location: slovakia
-
- Posts: 206
- Joined: Thu Sep 01, 2005 9:26 pm
- Location: France
-
- Posts: 326
- Joined: Wed Dec 14, 2005 10:08 pm
hy!
xterminhate it seems I have a problem. I use your rpg camera but I'm not sure it is your cade fault.
My character gets stuck in the map sometimes, which is very ennoing and I don't know why. I made another thread here some time ago, but no response : http://irrlicht.sourceforge.net/phpBB2/ ... 1&start=15
(is the 8th post).
Can someone please help me ?
xterminhate it seems I have a problem. I use your rpg camera but I'm not sure it is your cade fault.
My character gets stuck in the map sometimes, which is very ennoing and I don't know why. I made another thread here some time ago, but no response : http://irrlicht.sourceforge.net/phpBB2/ ... 1&start=15
(is the 8th post).
Can someone please help me ?
CCameraRPGSceneNode does not handle player collisions.
You have to build a Collision Response Animator according Irrlicht tutorial. You have got an example into the main program packed with the CCameraRPGSceneNode package.
You should create a dedicated new thread and give us your code (coliision selector, animator, ...etc).
Thanks,
Xterminhate.
You have to build a Collision Response Animator according Irrlicht tutorial. You have got an example into the main program packed with the CCameraRPGSceneNode package.
You should create a dedicated new thread and give us your code (coliision selector, animator, ...etc).
Thanks,
Xterminhate.
-
- Posts: 326
- Joined: Wed Dec 14, 2005 10:08 pm
-
- Posts: 206
- Joined: Thu Sep 01, 2005 9:26 pm
- Location: France
-
- Posts: 326
- Joined: Wed Dec 14, 2005 10:08 pm
-
- Posts: 322
- Joined: Tue Aug 30, 2005 10:34 am
- Location: slovakia
hi i got a error by compile the sample:
--------------------Configuration: main - Win32 Release--------------------
Compiling...
main.cpp
Compiling Irrlicht with Visual Studio 6.0, support for DX9 is disabled.
Linking...
main.obj : error LNK2001: unresolved external symbol "public: __thiscall irr::scene::CCameraRPGSceneNode::CCameraRPGSceneNode(class irr::scene::ISceneNode *,class irr::scene::ISceneManager *,int const &,class irr::IrrlichtDevice *,class irr::scene::
ITriangleSelector *,class irr::core::string<char> const &)" (??0CCameraRPGSceneNode@scene@irr@@QAE@PAVISceneNode@12@PAVISceneManager@12@ABHPAVIrrlichtDevice@2@PAVITriangleSelector@12@ABV?$string@D@core@2@@Z)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) class irr::IrrlichtDevice * __cdecl irr::createDevice(enum irr::video::E_DRIVER_TYPE,class irr::core::dimension2d<int> const &,unsigned int,bool,bool,bool,class irr::IEventR
eceiver *,char const *)" (__imp_?createDevice@irr@@YAPAVIrrlichtDevice@1@W4E_DRIVER_TYPE@video@1@ABV?$dimension2d@H@core@1@I_N22PAVIEventReceiver@1@PBD@Z)
Release/main.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.
main.exe - 3 error(s), 0 warning(s)
--------------------Configuration: main - Win32 Debug--------------------
Compiling...
main.cpp
Compiling Irrlicht with Visual Studio 6.0, support for DX9 is disabled.
Linking...
main.obj : error LNK2001: unresolved external symbol "public: __thiscall irr::scene::CCameraRPGSceneNode::CCameraRPGSceneNode(class irr::scene::ISceneNode *,class irr::scene::ISceneManager *,int const &,class irr::IrrlichtDevice *,class irr::scene::
ITriangleSelector *,class irr::core::string<char> const &)" (??0CCameraRPGSceneNode@scene@irr@@QAE@PAVISceneNode@12@PAVISceneManager@12@ABHPAVIrrlichtDevice@2@PAVITriangleSelector@12@ABV?$string@D@core@2@@Z)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) class irr::IrrlichtDevice * __cdecl irr::createDevice(enum irr::video::E_DRIVER_TYPE,class irr::core::dimension2d<int> const &,unsigned int,bool,bool,bool,class irr::IEventR
eceiver *,char const *)" (__imp_?createDevice@irr@@YAPAVIrrlichtDevice@1@W4E_DRIVER_TYPE@video@1@ABV?$dimension2d@H@core@1@I_N22PAVIEventReceiver@1@PBD@Z)
Debug/main.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.
main.exe - 3 error(s), 0 warning(s)
what can i do?
--------------------Configuration: main - Win32 Release--------------------
Compiling...
main.cpp
Compiling Irrlicht with Visual Studio 6.0, support for DX9 is disabled.
Linking...
main.obj : error LNK2001: unresolved external symbol "public: __thiscall irr::scene::CCameraRPGSceneNode::CCameraRPGSceneNode(class irr::scene::ISceneNode *,class irr::scene::ISceneManager *,int const &,class irr::IrrlichtDevice *,class irr::scene::
ITriangleSelector *,class irr::core::string<char> const &)" (??0CCameraRPGSceneNode@scene@irr@@QAE@PAVISceneNode@12@PAVISceneManager@12@ABHPAVIrrlichtDevice@2@PAVITriangleSelector@12@ABV?$string@D@core@2@@Z)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) class irr::IrrlichtDevice * __cdecl irr::createDevice(enum irr::video::E_DRIVER_TYPE,class irr::core::dimension2d<int> const &,unsigned int,bool,bool,bool,class irr::IEventR
eceiver *,char const *)" (__imp_?createDevice@irr@@YAPAVIrrlichtDevice@1@W4E_DRIVER_TYPE@video@1@ABV?$dimension2d@H@core@1@I_N22PAVIEventReceiver@1@PBD@Z)
Release/main.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.
main.exe - 3 error(s), 0 warning(s)
--------------------Configuration: main - Win32 Debug--------------------
Compiling...
main.cpp
Compiling Irrlicht with Visual Studio 6.0, support for DX9 is disabled.
Linking...
main.obj : error LNK2001: unresolved external symbol "public: __thiscall irr::scene::CCameraRPGSceneNode::CCameraRPGSceneNode(class irr::scene::ISceneNode *,class irr::scene::ISceneManager *,int const &,class irr::IrrlichtDevice *,class irr::scene::
ITriangleSelector *,class irr::core::string<char> const &)" (??0CCameraRPGSceneNode@scene@irr@@QAE@PAVISceneNode@12@PAVISceneManager@12@ABHPAVIrrlichtDevice@2@PAVITriangleSelector@12@ABV?$string@D@core@2@@Z)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) class irr::IrrlichtDevice * __cdecl irr::createDevice(enum irr::video::E_DRIVER_TYPE,class irr::core::dimension2d<int> const &,unsigned int,bool,bool,bool,class irr::IEventR
eceiver *,char const *)" (__imp_?createDevice@irr@@YAPAVIrrlichtDevice@1@W4E_DRIVER_TYPE@video@1@ABV?$dimension2d@H@core@1@I_N22PAVIEventReceiver@1@PBD@Z)
Debug/main.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.
main.exe - 3 error(s), 0 warning(s)
what can i do?
with dev-cpp the same error
Compiler: Default compiler
Building Makefile: "C:\rpg\Makefile.win"
Führt make... aus
make.exe -f "C:\rpg\Makefile.win" all
g++.exe main.o -o "example.exe" -L"C:/Dev-Cpp/lib" -L"C:/irrlicht-0.14.0/lib/Win32-gcc" ../irrlicht-0.14.0/lib/Win32-gcc/libIrrlicht.a
main.o(.text+0x802):main.cpp: undefined reference to `irr::scene::CCameraRPGSceneNode::CCameraRPGSceneNode(irr::scene::ISceneNode*, irr::scene::ISceneManager*, int const&, irr::IrrlichtDevice*, irr::scene::ITriangleSelector*, irr::core::string<char> const&)'
collect2: ld returned 1 exit status
make.exe: *** [example.exe] Error 1
Compiler: Default compiler
Building Makefile: "C:\rpg\Makefile.win"
Führt make... aus
make.exe -f "C:\rpg\Makefile.win" all
g++.exe main.o -o "example.exe" -L"C:/Dev-Cpp/lib" -L"C:/irrlicht-0.14.0/lib/Win32-gcc" ../irrlicht-0.14.0/lib/Win32-gcc/libIrrlicht.a
main.o(.text+0x802):main.cpp: undefined reference to `irr::scene::CCameraRPGSceneNode::CCameraRPGSceneNode(irr::scene::ISceneNode*, irr::scene::ISceneManager*, int const&, irr::IrrlichtDevice*, irr::scene::ITriangleSelector*, irr::core::string<char> const&)'
collect2: ld returned 1 exit status
make.exe: *** [example.exe] Error 1
-
- Posts: 206
- Joined: Thu Sep 01, 2005 9:26 pm
- Location: France
xterminhate -- Cool stuff! I just tried v4 out. It's way too fast on my machine. Do you know how to slow it down? This is just cool. I was going to write my own, but you've done an excellent job already!
The controls is a bit ackward. It's not like other fps setup (quake, doom3, etc.). I guess you did mentioned that it is like guild wars (never played that game).
The controls is a bit ackward. It's not like other fps setup (quake, doom3, etc.). I guess you did mentioned that it is like guild wars (never played that game).