ricardo_arango
05-02-2006 06:51:04
Is there a way to show the mesh of collision object? So I can check the size with the model?
ricardo_arango
05-02-2006 06:51:04
walaber
05-02-2006 18:32:49
ricardo_arango
07-02-2006 04:52:10
walaber
07-02-2006 06:42:32
misterface
20-02-2006 13:09:07
OgreNewt::Debugger::init(mSceneMgr);
OgreNewt::Debugger::showLines(m_World);
OgreNewt::Debugger::hideLines();
Error 2 error C2352: 'OgreNewt::Debugger::init' : illegal call of non-static member function c:\eindwerk\Ogre\ogreaddons\OgreNewt\demos\Demo01_TheBasics\OgreNewtonApplication.cpp 94
Error 3 error C3861: 'showLines': identifier not found c:\eindwerk\Ogre\ogreaddons\OgreNewt\demos\Demo01_TheBasics\OgreNewtonApplication.cpp 96
Error 4 error C2352: 'OgreNewt::Debugger::hideLines' : illegal call of non-static member function c:\eindwerk\Ogre\ogreaddons\OgreNewt\demos\Demo01_TheBasics\OgreNewtonApplication.cpp 97
haffax
20-02-2006 18:18:02
misterface
20-02-2006 23:42:00
misterface, the debugger functions are not static, as the compiler tells you. See the OgreNewt examples for how to use it correctly.
walaber
21-02-2006 00:27:25
misterface
21-02-2006 20:09:02
20:53:32: Win32Input8: Initializing mouse input in immediate mode.
20:53:32: Win32Input8: Mouse input in immediate mode initialized.
20:53:32: Win32Input8: DirectInput OK.
20:53:32: An exception has been thrown!
-----------------------------------
Details:
-----------------------------------
Error #: 6
Function: SceneManager::createSceneNode
Description: A scene node with the name __OgreNewt__Debugger__ already exists.
File: ..\src\OgreSceneManager.cpp
Line: 578
Stack unwinding: <<beginning of stack>>
20:53:32: *-*-* OGRE Shutdown
Kerion
21-02-2006 20:12:26
much better
Ogre runs, but an error:
20:53:32: Win32Input8: Initializing mouse input in immediate mode.
20:53:32: Win32Input8: Mouse input in immediate mode initialized.
20:53:32: Win32Input8: DirectInput OK.
20:53:32: An exception has been thrown!
-----------------------------------
Details:
-----------------------------------
Error #: 6
Function: SceneManager::createSceneNode
Description: A scene node with the name __OgreNewt__Debugger__ already exists.
File: ..\src\OgreSceneManager.cpp
Line: 578
Stack unwinding: <<beginning of stack>>
20:53:32: *-*-* OGRE Shutdown
btw getsingleton()... what does that mean?
misterface
21-02-2006 20:32:29
Are you calling OgreNew::Debugger::getSingleton().init() multiple times? Perhaps in your frameStarted? If so, only call it once when you initialize your app.
walaber
21-02-2006 22:10:28
misterface
22-02-2006 00:10:56