ANdys
29-07-2007 20:01:26
I use the Trigger to be a check point.
If i want to destroy a Trigger ,does the Trigger can't have any Bodys or Actors in it ?
If i want to destroy a Trigger ,does the Trigger can't have any Bodys or Actors in it ?
ANdys
29-07-2007 20:01:26
betajaen
29-07-2007 20:04:35
ANdys
29-07-2007 20:21:36
bool FixedSceneController::Simulate(NxReal deltaTime) {
mTiming_CurrentStep += deltaTime;
if (mTiming_CurrentStep < mTiming_MaxStep) {
mRenderFrame = false;
return false;
}
mNxScene->simulate(mTiming_MaxStep - (mTiming_MaxStep - mTiming_CurrentStep));
mNxScene->flushStream();
mNxScene->fetchResults(NX_RIGID_BODY_FINISHED, false); <<============================================== Stop here
mRenderFrame = true;
mTiming_CurrentStep=0;
return true;
}
betajaen
29-07-2007 20:50:06
ANdys
30-07-2007 02:47:20
When/Where are you deleting it?
ANdys
30-07-2007 04:54:44
betajaen
30-07-2007 09:48:38