<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated on Wed, 25 Nov 2009 04:28:16 -0800 -->
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <atom:link href="http://software.intel.com/en-us/forums/havok/feed" rel="self" type="application/rss+xml" />
    <title>Intel Software Network - <![CDATA[ Havok ]]> feed</title>
    <link>http://software.intel.com/en-us/forums/havok</link>
    <description></description>
    <language>en-us</language>
    <item>
      <title>error linker</title>
      <description><![CDATA[ hi.<br /><br />i have this error linker when i try to compilie<br /><br />error LNK2005: "public: static class hkTypeInfo const * const * const hkBuiltinTypeRegistry::StaticLinkedTypeInfos" (?StaticLinkedTypeInfos@hkBuiltinTypeRegistry@@2QBQBVhkTypeInfo@@B) already defined in CTerrain.obj<br /><br />i dont write anything with hkTypeInfo in Cterrain.h <br /> <br />how do i solve it. thanks<br /> ]]></description>
      <link>http://software.intel.com/en-us/forums/havok/topic/70131/</link>
      <pubDate>Wed, 25 Nov 2009 00:25:32 -0800</pubDate>
      <guid isPermaLink="true">http://software.intel.com/en-us/forums/havok/topic/70131/</guid>
      <category>Visual Computing</category>
    </item>
    <item>
      <title>[ask]how to generate havok heightfield using vertices x y z</title>
      <description><![CDATA[ hi. <br /><br />how do i generate havok heightfield using vertices x y z.?<br />i am using directx, and have generated the heightmap using raw file. and i have the vertex buffer.<br /><br />the vertex buffer has this xyz values.<br /><br />how to convert those xyz value to suit the variable needed for HeightFieldShape(ci, heightData);<br /><br />in the sample i found these code<br /><br />
<pre><code>for (int x = 0; x &lt; xRes; x++)<br />        {<br />            for (int z = 0; z &lt; zRes; z++)<br />            {<br />                hkReal dx,dz,height = 0;<br />                int octave = 1;<br />                // Add togther a few sine and cose waves<br />                for (int i=0; i&lt; 3; i++)<br />                {<br />                    dx = hkReal(x * octave) / xRes;<br />                    dz = hkReal(z * octave) / zRes;<br /><br />                    height +=  (5 - (i * 2)) * hkMath::cos(dx * HK_REAL_PI) * hkMath::sin(dz * HK_REAL_PI);<br />                    octave *= 4;<br />                }<br /><br />                // Convert to 16 bit <br />                m_heightData[x*zRes + z] = static_cast&lt;hkUint16&gt; ( hkUint16(-1) * (height + 10.0f) / 20.0f );<br />            }<br />        }<br /></code></pre>
so how do i do it with the already generated xyz from raw file??<br /><br />thank you ]]></description>
      <link>http://software.intel.com/en-us/forums/havok/topic/70129/</link>
      <pubDate>Wed, 25 Nov 2009 00:00:06 -0800</pubDate>
      <guid isPermaLink="true">http://software.intel.com/en-us/forums/havok/topic/70129/</guid>
      <category>Visual Computing</category>
    </item>
    <item>
      <title>Crash when loading skeleton</title>
      <description><![CDATA[ I am trying to load a skeleton into my app without the demo framework and I cannot seem to see why this crashes<br /><br />void CreateSkeleton()<br />{<br />hkLoader* m_loader;<br /> hkaSkeleton* m_skeleton;<br /><br /> // Load the data<br /> m_loader = new hkLoader();<br /><br /> wstring	MediaDirectory	= L"../../Media/";<br /> wstring	HavokDirectory	= L"Resources/Animation/HavokGirl/";<br /> wstring FileName		= L"hkRig_L4101.hkx";// hkRig.hkx hkRig_L4101.hkx<br /> wstring FinalFileName	= MediaDirectory + HavokDirectory + FileName;<br /><br /> hkRootLevelContainer* container = m_loader-&gt;load( JWStringToString(FinalFileName).c_str() );<br /><br /> if(container != HK_NULL)<br /> MessageBox( NULL,L"You got the container",L"Error", MB_OK );<br /> else<br /> MessageBox( NULL,L"No container loaded",L"Error", MB_OK );<br /><br /> hkaAnimationContainer* ac = reinterpret_cast&lt;hkaAnimationContainer*&gt;( container-&gt;findObjectByType( hkaAnimationContainerClass.getName() ));<br /> <br /> if(ac &amp;&amp; (ac-&gt;m_numSkeletons &gt; 0) )<br /> MessageBox( NULL,L"You got the skeleton",L"Error", MB_OK );<br /> else<br /> MessageBox( NULL,L"No skeleton loaded",L"Error", MB_OK );<br /> <br /> m_skeleton = ac-&gt;m_skeletons[0];<br /><br />}<br /><br />It always crashes here:<br />hkaAnimationContainer* ac = reinterpret_cast&lt;hkaAnimationContainer*&gt;( container-&gt;findObjectByType( hkaAnimationContainerClass.getName() ));<br /><br />even though the app reports that the container is loaded properly...<br /><br />I believe that the source from the demos might be outdated because in the source it loads hkRig.hkx but that file doesnt exist in the resources folder.  I tried to substitute hkRig_L4101.hkx instead but i still get the crash.<br /><br />Any help would be appreciated ;).<br /><br />Edit: I figured the demo(Api/Playback/SkeletonDemo) would be the easiest place to start for animation since all it does is load a skeleton but if anyone has an tips on a simpler example i would be glad to know.<br /> ]]></description>
      <link>http://software.intel.com/en-us/forums/havok/topic/70118/</link>
      <pubDate>Tue, 24 Nov 2009 14:33:16 -0800</pubDate>
      <guid isPermaLink="true">http://software.intel.com/en-us/forums/havok/topic/70118/</guid>
      <category>Visual Computing</category>
    </item>
    <item>
      <title>Havok Content Tools Linear and Angular Damping</title>
      <description><![CDATA[ I am exporting an hkx file with a rigid body which I am controlling through forces in my demo. The linear and angular damping are not being exported by the content tools. Max linear veloctiy (as well as angular) are not being exported either. I have double checked that with the XML filter.
<div><span style="font-family: Verdana, Arial, Helvetica, sans-serif;"><span style="background-color: #ffffff;"><br /></span></span></div>
<div>Maya Version: 2009</div>
<div>Content Tools: 6.6</div> ]]></description>
      <link>http://software.intel.com/en-us/forums/havok/topic/70112/</link>
      <pubDate>Tue, 24 Nov 2009 10:41:32 -0800</pubDate>
      <guid isPermaLink="true">http://software.intel.com/en-us/forums/havok/topic/70112/</guid>
      <category>Visual Computing</category>
    </item>
    <item>
      <title>Vehicle warning: The force feedback multiplier value is large</title>
      <description><![CDATA[ Hello, I'm using the default havok vehicle and I'm getting this warning:
<div><span style="font-family: Verdana, Arial, Helvetica, sans-serif;"><br /></span></div>
<div>The force feedback multiplier value is large - the forces being applied to objects the vehicle runs over will be clipped.<br /></div>
<div><br /></div>
<div>Which parameters can be causing this?</div> ]]></description>
      <link>http://software.intel.com/en-us/forums/havok/topic/70110/</link>
      <pubDate>Tue, 24 Nov 2009 08:44:33 -0800</pubDate>
      <guid isPermaLink="true">http://software.intel.com/en-us/forums/havok/topic/70110/</guid>
      <category>Visual Computing</category>
    </item>
    <item>
      <title>How to Deactivate the World and stop the collisions?</title>
      <description><![CDATA[ Hello,<br />I am trying to implement a 'FlyCheat' for the CharacterProxy in a game. When I press button 'p' on the keyboard I want the world to get deactivated and I want no collisions to take place. Now the user can control the CharacterProxy and he can move freely (Something like a 'GOD' mode where he can go pass anything e.g. walls) And when the user presses 'p' again I want the world to get reactivated and collisions to start working.<br />Now, Let me tell you what I have done. I have already created a hkpWorld as follows:<br />void GameObjectManager::CreateWorld()<br />{<br />{<br />int stackSize = 0x100000;<br />stackBuffer = hkAllocate&lt;char&gt;( stackSize, HK_MEMORY_CLASS_BASE);<br />hkThreadMemory::getInstance().setStackArea( stackBuffer, stackSize);<br />} <br /><br />m_WorldCinfo.m_simulationType = hkpWorldCinfo::SIMULATION_TYPE_CONTINUOUS;<br />// Flag objects that fall "out of the world" to be automatically removed - just necessary for this physics scene<br />m_WorldCinfo.m_broadPhaseBorderBehaviour = hkpWorldCinfo::BROADPHASE_BORDER_REMOVE_ENTITY;<br /><br />// 2 lines added for char class<br />m_WorldCinfo.setBroadPhaseWorldSize(10000);<br />m_WorldCinfo.m_gravity.set(0, -9.8f, 0);<br />m_WorldCinfo.m_collisionTolerance = 0.1f; <br />m_PhysicsWorld = new hkpWorld(m_WorldCinfo);<br /><br /><strong>m_PhysicsWorld-&gt;m_wantDeactivation = false;<br />// Register Collision agents<br />hkpAgentRegisterUtil::registerAllAgents( m_PhysicsWorld-&gt;getCollisionDispatcher() );</strong><br /><br /><br />}<br /><br />//Now I call a function named flyCheat() on keypress 'p'<br /><br />void CharacterProxyObject::flyCheat()<br />{<br />//physicsWorld is the same hkpWorld used during creation<br />physicsWorld-&gt;m_wantDeactivation = true;<br /><br />}<br /><br />However this doesnt seem to work. The world is not getting deactivated. Also can you please let me know how the collisions in the physics world can be stopped and later resumed.<br /><br />Thanking you.<br /><br />Regards,<br />Ajinkya<br /> ]]></description>
      <link>http://software.intel.com/en-us/forums/havok/topic/70099/</link>
      <pubDate>Tue, 24 Nov 2009 00:59:54 -0800</pubDate>
      <guid isPermaLink="true">http://software.intel.com/en-us/forums/havok/topic/70099/</guid>
      <category>Visual Computing</category>
    </item>
    <item>
      <title>car demo setup problem vs2008</title>
      <description><![CDATA[ hi,<br />i am new in havok.....i want to learn havok.so i make a new project in vs2008 for "hk660r1\Demo\Demos\Physics\Api\Vehicle\Car" demo....i add all the library and linking &amp; include directories correctly....but the compiler gives these linking errors...<br /><br />
<pre name="code" class="cpp">1&gt;------ Build started: Project: Demos, Configuration: Debug Multithreaded DLL Win32 ------
1&gt;Linking...
1&gt;CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall VehicleSetup::buildVehicle(class hkpWorld const *,class hkpVehicleInstance &amp;)" (?buildVehicle@VehicleSetup@@UAEXPBVhkpWorld@@AAVhkpVehicleInstance@@@Z)
1&gt;CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall VehicleSetup::setupVehicleData(class hkpWorld const *,class hkpVehicleData &amp;)" (?setupVehicleData@VehicleSetup@@UAEXPBVhkpWorld@@AAVhkpVehicleData@@@Z)
1&gt;CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall VehicleSetup::setupComponent(class hkpVehicleData const &amp;,class hkpVehicleDefaultVelocityDamper &amp;)" (?setupComponent@VehicleSetup@@UAEXABVhkpVehicleData@@AAVhkpVehicleDefaultVelocityDamper@@@Z)
1&gt;CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall VehicleSetup::setupComponent(class hkpVehicleData const &amp;,class hkpVehicleDefaultAerodynamics &amp;)" (?setupComponent@VehicleSetup@@UAEXABVhkpVehicleData@@AAVhkpVehicleDefaultAerodynamics@@@Z)
1&gt;CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall VehicleSetup::setupComponent(class hkpVehicleData const &amp;,class hkpVehicleDefaultSuspension &amp;)" (?setupComponent@VehicleSetup@@UAEXABVhkpVehicleData@@AAVhkpVehicleDefaultSuspension@@@Z)
1&gt;CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall VehicleSetup::setupComponent(class hkpVehicleData const &amp;,class hkpVehicleDefaultBrake &amp;)" (?setupComponent@VehicleSetup@@UAEXABVhkpVehicleData@@AAVhkpVehicleDefaultBrake@@@Z)
1&gt;CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall VehicleSetup::setupComponent(class hkpVehicleData const &amp;,class hkpVehicleDefaultTransmission &amp;)" (?setupComponent@VehicleSetup@@UAEXABVhkpVehicleData@@AAVhkpVehicleDefaultTransmission@@@Z)
1&gt;CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall VehicleSetup::setupComponent(class hkpVehicleData const &amp;,class hkpVehicleDefaultEngine &amp;)" (?setupComponent@VehicleSetup@@UAEXABVhkpVehicleData@@AAVhkpVehicleDefaultEngine@@@Z)
1&gt;CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall VehicleSetup::setupComponent(class hkpVehicleData const &amp;,class hkpVehicleDefaultSteering &amp;)" (?setupComponent@VehicleSetup@@UAEXABVhkpVehicleData@@AAVhkpVehicleDefaultSteering@@@Z)
1&gt;CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall VehicleSetup::setupComponent(class hkpVehicleData const &amp;,class hkpVehicleDefaultAnalogDriverInput &amp;)" (?setupComponent@VehicleSetup@@UAEXABVhkpVehicleData@@AAVhkpVehicleDefaultAnalogDriverInput@@@Z)
1&gt;CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall VehicleSetup::setupWheelCollide(class hkpWorld const *,class hkpVehicleInstance const &amp;,class hkpVehicleRayCastWheelCollide &amp;)" (?setupWheelCollide@VehicleSetup@@UAEXPBVhkpWorld@@ABVhkpVehicleInstance@@AAVhkpVehicleRayCastWheelCollide@@@Z)
1&gt;CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall VehicleSetup::setupTyremarks(class hkpVehicleData const &amp;,class hkpTyremarksInfo &amp;)" (?setupTyremarks@VehicleSetup@@UAEXABVhkpVehicleData@@AAVhkpTyremarksInfo@@@Z)
1&gt;CarDemo.obj : error LNK2019: unresolved external symbol "public: static void __cdecl VehicleApiUtils::steer(class hkgPad *,float &amp;,float &amp;,class hkpVehicleInstance &amp;,float)" (?steer@VehicleApiUtils@@SAXPAVhkgPad@@AAM1AAVhkpVehicleInstance@@M@Z) referenced in function "protected: virtual void __thiscall CarDemo::steer(void)" (?steer@CarDemo@@MAEXXZ)
1&gt;CarDemo.obj : error LNK2019: unresolved external symbol "public: static void __cdecl VehicleApiUtils::reorient(class hkBool,class hkpAction *,class hkpWorld *)" (?reorient@VehicleApiUtils@@SAXVhkBool@@PAVhkpAction@@PAVhkpWorld@@@Z) referenced in function "protected: virtual void __thiscall CarDemo::steer(void)" (?steer@CarDemo@@MAEXXZ)
1&gt;CarDemo.obj : error LNK2019: unresolved external symbol "public: static class hkpPhysicsSystem * __cdecl GameUtils::createRagdoll(float,class hkVector4 const &amp;,class hkQuaternion const &amp;,int,enum GameUtils::RagdollPartType)" (?createRagdoll@GameUtils@@SAPAVhkpPhysicsSystem@@MABVhkVector4@@ABVhkQuaternion@@HW4RagdollPartType@1@@Z) referenced in function "protected: static void __cdecl CarDemo::createRagdollGrid(class hkpWorld *,int,int,float,float,class hkArray&lt;class hkRagdoll *&gt; &amp;)" (?createRagdollGrid@CarDemo@@KAXPAVhkpWorld@@HHMMAAV?$hkArray@PAVhkRagdoll@@@@@Z)
1&gt;CarDemo.obj : error LNK2019: unresolved external symbol "public: static class hkpConvexVerticesShape * __cdecl VehicleApiUtils::createCarChassisShape(void)" (?createCarChassisShape@VehicleApiUtils@@SAPAVhkpConvexVerticesShape@@XZ) referenced in function "private: void __thiscall CarDemo::setupVehicles(void)" (?setupVehicles@CarDemo@@AAEXXZ)
1&gt;CarDemo.obj : error LNK2019: unresolved external symbol "public: static void __cdecl VehicleDisplayUtils::updateInfo(class hkDemoEnvironment *,struct VehicleDisplayUtils::VehicleDataAndDisplayInfo &amp;)" (?updateInfo@VehicleDisplayUtils@@SAXPAVhkDemoEnvironment@@AAUVehicleDataAndDisplayInfo@1@@Z) referenced in function "public: virtual enum hkDemo::Result __thiscall CarDemo::stepDemo(void)" (?stepDemo@CarDemo@@UAE?AW4Result@hkDemo@@XZ)
1&gt;CarDemo.obj : error LNK2019: unresolved external symbol "public: static void __cdecl VehicleDisplayUtils::updateTyremarks(float,class hkpVehicleInstance *)" (?updateTyremarks@VehicleDisplayUtils@@SAXMPAVhkpVehicleInstance@@@Z) referenced in function "public: virtual enum hkDemo::Result __thiscall CarDemo::stepDemo(void)" (?stepDemo@CarDemo@@UAE?AW4Result@hkDemo@@XZ)
1&gt;CarDemo.obj : error LNK2019: unresolved external symbol "public: static void __cdecl VehicleApiUtils::updateCamera(class hkDemoEnvironment *,class hkpRigidBody const &amp;,float,class hkp1dAngularFollowCam &amp;)" (?updateCamera@VehicleApiUtils@@SAXPAVhkDemoEnvironment@@ABVhkpRigidBody@@MAAVhkp1dAngularFollowCam@@@Z) referenced in function "public: virtual enum hkDemo::Result __thiscall CarDemo::stepDemo(void)" (?stepDemo@CarDemo@@UAE?AW4Result@hkDemo@@XZ)
1&gt;CarDemo.obj : error LNK2019: unresolved external symbol "public: static void __cdecl VehicleApiUtils::syncDisplayWheels(class hkDemoEnvironment *,class hkpVehicleInstance &amp;,class hkArray&lt;int&gt; const &amp;,int)" (?syncDisplayWheels@VehicleApiUtils@@SAXPAVhkDemoEnvironment@@AAVhkpVehicleInstance@@ABV?$hkArray@H@@H@Z) referenced in function "public: virtual enum hkDemo::Result __thiscall CarDemo::stepDemo(void)" (?stepDemo@CarDemo@@UAE?AW4Result@hkDemo@@XZ)
1&gt;CarDemo.obj : error LNK2019: unresolved external symbol "public: virtual enum hkDemo::Result __thiscall hkDefaultPhysicsDemo::stepDemo(void)" (?stepDemo@hkDefaultPhysicsDemo@@UAE?AW4Result@hkDemo@@XZ) referenced in function "public: virtual enum hkDemo::Result __thiscall CarDemo::stepDemo(void)" (?stepDemo@CarDemo@@UAE?AW4Result@hkDemo@@XZ)
1&gt;CarDemo.obj : error LNK2019: unresolved external symbol "public: class hkpMoppBvTreeShape * __thiscall FlatLand::createMoppShapeForSpu(void)" (?createMoppShapeForSpu@FlatLand@@QAEPAVhkpMoppBvTreeShape@@XZ) referenced in function "protected: void __thiscall CarDemo::buildLandscape(void)" (?buildLandscape@CarDemo@@IAEXXZ)
1&gt;CarDemo.obj : error LNK2019: unresolved external symbol "public: __thiscall FlatLand::FlatLand(int)" (??0FlatLand@@QAE@H@Z) referenced in function "protected: void __thiscall CarDemo::buildLandscape(void)" (?buildLandscape@CarDemo@@IAEXXZ)
1&gt;CarDemo.obj : error LNK2019: unresolved external symbol "public: void __thiscall hkDefaultDemo::setupGraphics(void)" (?setupGraphics@hkDefaultDemo@@QAEXXZ) referenced in function "protected: void __thiscall CarDemo::setUpWorld(void)" (?setUpWorld@CarDemo@@IAEXXZ)
1&gt;CarDemo.obj : error LNK2019: unresolved external symbol "public: void __thiscall hkDefaultDemo::setupDefaultCameras(class hkDemoEnvironment *,class hkVector4 const &amp;,class hkVector4 const &amp;,class hkVector4 const &amp;,float,float,bool)const " (?setupDefaultCameras@hkDefaultDemo@@QBEXPAVhkDemoEnvironment@@ABVhkVector4@@11MM_N@Z) referenced in function "protected: void __thiscall CarDemo::setUpWorld(void)" (?setUpWorld@CarDemo@@IAEXXZ)
1&gt;CarDemo.obj : error LNK2019: unresolved external symbol "public: static void __cdecl VehicleApiUtils::createCamera(class hkp1dAngularFollowCam &amp;)" (?createCamera@VehicleApiUtils@@SAXAAVhkp1dAngularFollowCam@@@Z) referenced in function "public: __thiscall CarDemo::CarDemo(class hkDemoEnvironment *,class hkBool,int,int)" (??0CarDemo@@QAE@PAVhkDemoEnvironment@@VhkBool@@HH@Z)
1&gt;CarDemo.obj : error LNK2019: unresolved external symbol "public: __thiscall hkDefaultPhysicsDemo::hkDefaultPhysicsDemo(class hkDemoEnvironment *,enum hkDefaultPhysicsDemo::DemoFlags)" (??0hkDefaultPhysicsDemo@@QAE@PAVhkDemoEnvironment@@W4DemoFlags@0@@Z) referenced in function "public: __thiscall CarDemo::CarDemo(class hkDemoEnvironment *,class hkBool,int,int)" (??0CarDemo@@QAE@PAVhkDemoEnvironment@@VhkBool@@HH@Z)
1&gt;CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall hkDefaultPhysicsDemo::calcContentStatistics(class hkStatisticsCollector *,class hkClass const *)const " (?calcContentStatistics@hkDefaultPhysicsDemo@@UBEXPAVhkStatisticsCollector@@PBVhkClass@@@Z)
1&gt;CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall hkDefaultPhysicsDemo::preDeleteDemo(void)" (?preDeleteDemo@hkDefaultPhysicsDemo@@UAEXXZ)
1&gt;CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall hkDefaultPhysicsDemo::waitForStepCompletion(void)" (?waitForStepCompletion@hkDefaultPhysicsDemo@@UAEXXZ)
1&gt;CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall hkDefaultPhysicsDemo::postRenderDisplayWorld(class hkgViewport *)" (?postRenderDisplayWorld@hkDefaultPhysicsDemo@@UAEXPAVhkgViewport@@@Z)
1&gt;CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual enum hkDemo::Result __thiscall hkDefaultDemo::stepVisualDebugger(void)" (?stepVisualDebugger@hkDefaultDemo@@UAE?AW4Result@hkDemo@@XZ)
1&gt;CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall hkDefaultDemo::getNumTimerStreams(int &amp;,int &amp;,int)const " (?getNumTimerStreams@hkDefaultDemo@@UBEXAAH0H@Z)
1&gt;CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall hkDefaultDemo::getTimerStreamInfo(class hkArray&lt;struct hkTimerData&gt; &amp;,class hkArray&lt;struct hkTimerData&gt; &amp;,int)" (?getTimerStreamInfo@hkDefaultDemo@@UAEXAAV?$hkArray@UhkTimerData@@@@0H@Z)
1&gt;CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall hkDefaultDemo::resetTimerStreams(void)" (?resetTimerStreams@hkDefaultDemo@@UAEXXZ)
1&gt;CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall hkDefaultPhysicsDemo::addTimersToVdb(class hkArray&lt;struct hkTimerData&gt; const &amp;,class hkArray&lt;struct hkTimerData&gt; const &amp;)" (?addTimersToVdb@hkDefaultPhysicsDemo@@UAEXABV?$hkArray@UhkTimerData@@@@0@Z)
1&gt;CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall hkDefaultDemo::mouseDown(void)" (?mouseDown@hkDefaultDemo@@UAEXXZ)
1&gt;CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall hkDefaultDemo::mouseUp(void)" (?mouseUp@hkDefaultDemo@@UAEXXZ)
1&gt;CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall hkDefaultDemo::mouseDrag(void)" (?mouseDrag@hkDefaultDemo@@UAEXXZ)
1&gt;CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall hkDefaultDemo::setLightAndFixedShadow(float *,float *,float *,float,float,int)" (?setLightAndFixedShadow@hkDefaultDemo@@UAEXPAM00MMH@Z)
1&gt;CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall hkDefaultPhysicsDemo::setupContexts(class hkArray&lt;class hkProcessContext *&gt; &amp;)" (?setupContexts@hkDefaultPhysicsDemo@@UAEXAAV?$hkArray@PAVhkProcessContext@@@@@Z)
1&gt;CarDemo.obj : error LNK2001: unresolved external symbol "protected: virtual class hkBool __thiscall hkDefaultPhysicsDemo::objectPicked(class hkgDisplayObject const *,class hkVector4 const &amp;,int)" (?objectPicked@hkDefaultPhysicsDemo@@MAE?AVhkBool@@PBVhkgDisplayObject@@ABVhkVector4@@H@Z)
1&gt;CarDemo.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall hkDefaultPhysicsDemo::objectReleased(void)" (?objectReleased@hkDefaultPhysicsDemo@@MAEXXZ)
1&gt;CarDemo.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall hkDefaultPhysicsDemo::objectDragged(class hkVector4 const &amp;)" (?objectDragged@hkDefaultPhysicsDemo@@MAEXABVhkVector4@@@Z)
1&gt;CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall hkDefaultPhysicsDemo::addOrRemoveThreads(void)" (?addOrRemoveThreads@hkDefaultPhysicsDemo@@UAEXXZ)
1&gt;CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual enum hkpStepResult __thiscall hkDefaultPhysicsDemo::stepAsynchronously(class hkpWorld *,float,float)" (?stepAsynchronously@hkDefaultPhysicsDemo@@UAE?AW4hkpStepResult@@PAVhkpWorld@@MM@Z)
1&gt;CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall hkDefaultPhysicsDemo::setAutoInstancingEnabled(bool)" (?setAutoInstancingEnabled@hkDefaultPhysicsDemo@@UAEX_N@Z)
1&gt;CarDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall hkDefaultPhysicsDemo::setAutoDisplayCachingEnabled(bool)" (?setAutoDisplayCachingEnabled@hkDefaultPhysicsDemo@@UAEX_N@Z)
1&gt;CarDemo.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall hkDefaultPhysicsDemo::~hkDefaultPhysicsDemo(void)" (??1hkDefaultPhysicsDemo@@UAE@XZ) referenced in function "public: virtual __thiscall CarDemo::~CarDemo(void)" (??1CarDemo@@UAE@XZ)
1&gt;CarDemo.obj : error LNK2019: unresolved external symbol "public: static void __cdecl VehicleApiUtils::createDisplayWheels(class hkDemoEnvironment *,int,int,float,float)" (?createDisplayWheels@VehicleApiUtils@@SAXPAVhkDemoEnvironment@@HHMM@Z) referenced in function "protected: virtual void __thiscall CarDemo::createDisplayWheels(float,float)" (?createDisplayWheels@CarDemo@@MAEXMM@Z)
1&gt;CarDemo.obj : error LNK2019: unresolved external symbol "public: __thiscall hkDemoEntryRegister::hkDemoEntryRegister(class hkDemo * (__cdecl*)(class hkDemoEnvironment *),int,char const *,int,char const *,char const *,char const *,bool)" (??0hkDemoEntryRegister@@QAE@P6APAVhkDemo@@PAVhkDemoEnvironment@@@ZHPBDH222_N@Z) referenced in function "void __cdecl `dynamic initializer for 'hkDemoEntryRegisterCarDemo''(void)" (??__EhkDemoEntryRegisterCarDemo@@YAXXZ)
1&gt;MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
1&gt;.\Demos_win32-net_9-0_debug_multithreaded_dll.exe : fatal error LNK1120: 52 unresolved externals
1&gt;Build log was saved at "file://c:\Havok_Physics\hk660r1\Demo\Demos\Physics\Api\Obj\win32_net_9-0\debug_multithreaded_dll\Demos\BuildLog.htm"
1&gt;Demos - 53 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
</pre>
<br />please anyone help me to get out from here..........<br />thanks....... ]]></description>
      <link>http://software.intel.com/en-us/forums/havok/topic/70095/</link>
      <pubDate>Mon, 23 Nov 2009 22:25:19 -0800</pubDate>
      <guid isPermaLink="true">http://software.intel.com/en-us/forums/havok/topic/70095/</guid>
      <category>Visual Computing</category>
    </item>
    <item>
      <title>How to get the angle of the hinge constraint</title>
      <description><![CDATA[ I used a motor to drive the hinge constraint. Now I wanna know how to get the relative angle between the two bodies, not the target motor angle.<br /><br />If this kind of API is not provided, is there anything useful tool to compute the relative angle?<br /><br />Thank you in advance. ]]></description>
      <link>http://software.intel.com/en-us/forums/havok/topic/70080/</link>
      <pubDate>Mon, 23 Nov 2009 05:04:00 -0800</pubDate>
      <guid isPermaLink="true">http://software.intel.com/en-us/forums/havok/topic/70080/</guid>
      <category>Visual Computing</category>
    </item>
    <item>
      <title>Using the visual debugger with a hkpVehicleInstance in the World crashes my app</title>
      <description><![CDATA[ Hello,
<div><span style="font-family: Verdana, Arial, Helvetica, sans-serif;">I've been trying to get a simple vehicle into my application, but whenever I add it to the world my application crashes, but only if I use the hkVisualDebugger::step(), if I comment this out, it works and the chassis also colldies with a box in the scene (I 'confirmed' that by logging the Y (height) of the chassis through some time).</span></div>
<div><br /></div>
<div>Here is the code I use to add my vehicle to the simulation:</div>
<div><br /></div>
<div>
<pre name="code" class="cpp">// m_vehBody is the rigid body I use for the chassis
	m_vehInst=new hkpVehicleInstance(m_vehBody);

	// This creates all elements that hkpVehicleInstance requires and setups their values 
	m_vehicle.BuildVehicleMain(m_world,*m_vehInst,0.4f,hkVector4(0.9f,-0.1f,1.1f),hkVector4(0.9f,-0.1f,-1.3f));	

	// Add to simulation, is this ok?
	m_vehInst-&gt;addToWorld(m_world);
	m_world-&gt;addAction(m_vehInst);</pre>
Callstack:</div>
<div><br /></div>
<div>Top: 	GameV2.exe!hkpWorldObject::checkReadOnly()  Line 185	C++<br /> GameV2.exe!hkpVehicleViewer::postSimulationCallback(hkpWorld * world=0x012d92c0)  Line 172	C++<br /> GameV2.exe!hkpWorldCallbackUtil::firePostSimulationCallback(hkpWorld * world=0x012d92c0)  Line 475	C++<br /> GameV2.exe!hkpSimulation::advanceTime()  Line 325	C++<br /> GameV2.exe!hkpSimulation::stepDeltaTime(float physicsDeltaTime=0.074170753)  Line 355	C++<br /> GameV2.exe!hkpWorld::stepDeltaTime(float physicsDeltaTime=0.074170753)  Line 2333 + 0x12 bytes	C++<br />&gt;	GameV2.exe!NXP::Physics::Update(float deltaTime=0.074170753)  Line 62	C++<br /> GameV2.exe!Realtime()  Line 58	C++<br /> GameV2.exe!NX_Win32Wrapper::NXRunWindow(void (void)* FuncPtr=0x004d2043, void (void)* KillFunc=0x00000000)  Line 165 + 0x5 bytes	C++<br /> GameV2.exe!WinMain(HINSTANCE__ * hInstance=0x001a0000, HINSTANCE__ * hPrevInstance=0x00000000, char * lpCmdLine=0x01402bbf, int nShowCmd=1)  Line 135	C++<br /><br /></div>
<div><br /></div> ]]></description>
      <link>http://software.intel.com/en-us/forums/havok/topic/70073/</link>
      <pubDate>Sun, 22 Nov 2009 11:37:59 -0800</pubDate>
      <guid isPermaLink="true">http://software.intel.com/en-us/forums/havok/topic/70073/</guid>
      <category>Visual Computing</category>
    </item>
    <item>
      <title>How do I compare two hkVector4&amp;#39;s?</title>
      <description><![CDATA[ Hello,<br />I have a problem in comparing two hkVector4 positions. The thing is I am trying to implement a 'teleporting' functionality for the CharacterProxy. So I basically want to compare the current position of the CharacterProxy and a specific position in the world. Well I am using the following code:<br /><br /><br />void CharacterProxyObject::teleport(hkVector4 &amp;checkPosition,hkVector4 &amp;teleportPosition)<br />{<br /><br />hkVector4Comparison a;<br /><br />a.MASK_W;<br />a = checkPosition.compareEqual4(getObjectPosition());<br />//getObjectPosition gets the current position of the CharacterProxy<br />}<br /><br />Now I am not able to figure out how can I check for the individual x,y,z components?<br />Can you please help me out with this?<br />Thanking you.<br /><br />Ajinkya<br /><br />P.S.: Please excuse me if this question has been answered before as I am new to this forum. ]]></description>
      <link>http://software.intel.com/en-us/forums/havok/topic/70063/</link>
      <pubDate>Sat, 21 Nov 2009 16:35:50 -0800</pubDate>
      <guid isPermaLink="true">http://software.intel.com/en-us/forums/havok/topic/70063/</guid>
      <category>Visual Computing</category>
    </item>
  </channel></rss>