Thanks rogerborg i'll check it out.
And sio2, i'm aware of what it is. My question was can it return a point of collision between nodes without us having to use it for anything else.
Edit: I've been trying to get the IrrNewt examples to compile and i'm running into some Unresolved External Symbol errors, wondering if you guys know what i'm doing wrong.
I'm using Irrlicht 1.3.1, IrrNewt 0.4 and Newton 1.53.
I'm trying to compile the 'Ragdoll' example (chosen at random).
I've set my VC++ (.net) directories as such:
INCLUDE:
C:\Program Files\NewtonSDK\sdk
C:\Irrlicht\IrrNewt\include
C:\Irrlicht\irrlicht-1.3.1\include
LIB:
C:\Program Files\NewtonSDK\sdk\lib_st
C:\Irrlicht\IrrNewt\lib\win32-vc++6
C:\Irrlicht\irrlicht-1.3.1\lib\Win32-visualstudio
EXECUTABLE:
C:\Program Files\NewtonSDK\sdk\dll
C:\Irrlicht\IrrNewt\bin\visual_studio
C:\Irrlicht\irrlicht-1.3.1\bin\Win32-VisualStudio
I wasn't sure about the Newton lib as i couldn't actually find any documentation on what lib_st, lib_mt, lib_st_double and lib_mt_double actually meant, i just assumed it meant something like single threaded, multiple threaded and just went with _st.
I'm not sure if these have anything to do with the errors i'm getting. I put the Newton.dll from the Newton dll directory into my windows>system32 directory too just incase but that made no difference either.
And i'm getting the following errors:
Code: Select all
project error LNK2001: unresolved external symbol "class irr::newton::IWorld * __cdecl irr::newton::createPhysicsWorld(class irr::IrrlichtDevice *)" (?createPhysicsWorld@newton@irr@@$$FYAPAVIWorld@12@PAVIrrlichtDevice@2@@Z)
project error LNK2001: unresolved external symbol "public: class irr::newton::IBody * __thiscall irr::newton::IRagDollBone::getBody(void)" (?getBody@IRagDollBone@newton@irr@@$$FQAEPAVIBody@23@XZ)
project error LNK2001: unresolved external symbol "public: class irr::newton::IBody * __thiscall irr::newton::IUtils::launchCube(void)" (?launchCube@IUtils@newton@irr@@$$FQAEPAVIBody@23@XZ)
project error LNK2001: unresolved external symbol "public: class irr::newton::IBody * __thiscall irr::newton::IWorld::createBodyAuto(class irr::scene::ISceneNode *,class irr::scene::IMesh *,float,unsigned int,class irr::core::CMatrix4<float>,class irr::core::vector3d<float>,enum irr::newton::E_CALCULATE_OFFSET,enum irr::newton::E_CALCULATE_SIZE)" (?createBodyAuto@IWorld@newton@irr@@$$FQAEPAVIBody@23@PAVISceneNode@scene@3@PAVIMesh@63@MIV?$CMatrix4@M@core@3@V?$vector3d@M@93@W4E_CALCULATE_OFFSET@23@W4E_CALCULATE_SIZE@23@@Z)
project error LNK2001: unresolved external symbol "public: class irr::newton::ICollisionManager * __thiscall irr::newton::IWorld::getCollisionManager(void)" (?getCollisionManager@IWorld@newton@irr@@$$FQAEPAVICollisionManager@23@XZ)
project error LNK2001: unresolved external symbol "public: class irr::newton::IMaterial * __thiscall irr::newton::IWorld::createMaterial(void)" (?createMaterial@IWorld@newton@irr@@$$FQAEPAVIMaterial@23@XZ)
project error LNK2001: unresolved external symbol "public: class irr::newton::IRagDoll * __thiscall irr::newton::IWorld::createRagDoll(struct irr::newton::SRagDoll)" (?createRagDoll@IWorld@newton@irr@@$$FQAEPAVIRagDoll@23@USRagDoll@23@@Z)
project error LNK2001: unresolved external symbol "public: class irr::newton::IRagDollBone * __thiscall irr::newton::IRagDoll::findBone(int)" (?findBone@IRagDoll@newton@irr@@$$FQAEPAVIRagDollBone@23@H@Z)
project error LNK2001: unresolved external symbol "public: class irr::newton::IUtils * __thiscall irr::newton::IWorld::getUtils(void)" (?getUtils@IWorld@newton@irr@@$$FQAEPAVIUtils@23@XZ)
project error LNK2001: unresolved external symbol "public: class irr::scene::ISceneNode * __thiscall irr::newton::IUtils::buildDefaultRagdoll(class irr::core::vector3d<float>,class irr::video::ITexture *)" (?buildDefaultRagdoll@IUtils@newton@irr@@$$FQAEPAVISceneNode@scene@3@V?$vector3d@M@core@3@PAVITexture@video@3@@Z)
project error LNK2001: unresolved external symbol "public: struct irr::newton::SIntersectionPoint __thiscall irr::newton::ICollisionManager::getCollisionFirstPointEx(class irr::core::line3d<float>)" (?getCollisionFirstPointEx@ICollisionManager@newton@irr@@$$FQAE?AUSIntersectionPoint@23@V?$line3d@M@core@3@@Z)
project error LNK2001: unresolved external symbol "public: void __thiscall irr::newton::IBody::setMaterial(class irr::newton::IMaterial *)" (?setMaterial@IBody@newton@irr@@$$FQAEXPAVIMaterial@23@@Z)
project error LNK2001: unresolved external symbol "public: void __thiscall irr::newton::IMaterial::setElasticity(class irr::newton::IMaterial *,float)" (?setElasticity@IMaterial@newton@irr@@$$FQAEXPAV123@M@Z)
project error LNK2001: unresolved external symbol "public: void __thiscall irr::newton::IMaterial::setFriction(class irr::newton::IMaterial *,float,float)" (?setFriction@IMaterial@newton@irr@@$$FQAEXPAV123@MM@Z)
project error LNK2001: unresolved external symbol "public: void __thiscall irr::newton::IMaterial::setSoftness(class irr::newton::IMaterial *,float)" (?setSoftness@IMaterial@newton@irr@@$$FQAEXPAV123@M@Z)
project error LNK2001: unresolved external symbol "public: void __thiscall irr::newton::IRagDoll::addForceContinuousToBones(class irr::core::vector3d<float>)" (?addForceContinuousToBones@IRagDoll@newton@irr@@$$FQAEXV?$vector3d@M@core@3@@Z)
project error LNK2001: unresolved external symbol "public: void __thiscall irr::newton::IRagDoll::setAutoFreezeToBones(bool)" (?setAutoFreezeToBones@IRagDoll@newton@irr@@$$FQAEX_N@Z)
project error LNK2001: unresolved external symbol "public: void __thiscall irr::newton::IRagDoll::setFreezeToBones(bool)" (?setFreezeToBones@IRagDoll@newton@irr@@$$FQAEX_N@Z)
project error LNK2001: unresolved external symbol "public: void __thiscall irr::newton::IRagDoll::setMaterialToBones(class irr::newton::IMaterial *)" (?setMaterialToBones@IRagDoll@newton@irr@@$$FQAEXPAVIMaterial@23@@Z)
project error LNK2001: unresolved external symbol "public: void __thiscall irr::newton::IWorld::drawAllDebugInfos(void)" (?drawAllDebugInfos@IWorld@newton@irr@@$$FQAEXXZ)
project error LNK2001: unresolved external symbol "public: void __thiscall irr::newton::IWorld::update(void)" (?update@IWorld@newton@irr@@$$FQAEXXZ)
project fatal error LNK1120: 21 unresolved externals
I assume it's something very basic, but i just can't find it. Any help would be most appreciated.