that idea sounds great
even in current state your car physics already suppressed havok/bullet and probably latest PhysX vehicle, people who tested new version said it's much better then what was before.
Moderators: Sascha Willems, Thomas
>CNWCar.obj : error LNK2019: unresolved external symbol "public: __thiscall CustomVehicleController::BodyPartEngine::BodyPartEngine(class CustomVehicleController * const,class CustomVehicleController::BodyPartEngine::Info const &)" (??0BodyPartEngine@CustomVehicleController@@QAE@QAV1@ABVInfo@01@@Z) referenced in function "public: void __thiscall CNWCar::BuildBasicCar(struct BasciCarParameters const &)" (?BuildBasicCar@CNWCar@@QAEXABUBasciCarParameters@@@Z)
2>CNWCarEngine.obj : error LNK2001: unresolved external symbol "public: __thiscall CustomVehicleController::BodyPartEngine::BodyPartEngine(class CustomVehicleController * const,class CustomVehicleController::BodyPartEngine::Info const &)" (??0BodyPartEngine@CustomVehicleController@@QAE@QAV1@ABVInfo@01@@Z)
2>CNWCarEngine.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall CustomVehicleController::BodyPartEngine::~BodyPartEngine(void)" (??1BodyPartEngine@CustomVehicleController@@UAE@XZ) referenced in function __unwindfunclet$??0CNewEngine@@QAE@QAVCustomVehicleController@@ABVInfo@BodyPartEngine@1@@Z$0
collerblade wrote:newton bodies can only rotate a half turn on every frame
collerblade wrote:Julio:
why is there a NewtonBodySetMaxRotationPerStep() call for the wheels? Is sets the wheels rotation speed to the exact limit (Pi/2). But they cant go faster anyway... why is that call neseserry?
dAssert(m_rpmAtIdleTorque > 0.0f);
dAssert(m_rpmAtIdleTorque < m_rpmAtPeakHorsePower);
dAssert(m_rpmAtPeakTorque < m_rpmAtPeakHorsePower);
dAssert(m_rpmAtPeakHorsePower < m_rpmAtReadLineTorque);
dAssert(m_idleTorque > 0.0f);
dAssert(m_peakTorque > m_peakPowerTorque);
dAssert(m_peakPowerTorque > m_redLineTorque);
dAssert(m_redLineTorque > 0.0f);
dAssert((m_peakTorque * m_rpmAtPeakTorque) < m_peakHorsePower);
can you just pass a large angle to NewtonBodySetMaxRotationPerStep()?
dFloat W = omega.m_x * m_data.m_crownGearRatio;
...
if(W > m_data.m_rpmAtPeakHorsePower)
setGear(gear+1);
Users browsing this forum: No registered users and 0 guests