syedhs
18-06-2006 07:12:31
Walaber,
I read thru your source code, and there are sections which I couldn't get myself to understand them:
1) What is the use of DummyBody?
2) Take a look at the code below:-
Why do we need GoalNode, GoalDistance and then subsequently another GoalNode (overriding the previous GoalNode?)
Thanks.
I read thru your source code, and there are sections which I couldn't get myself to understand them:
1) What is the use of DummyBody?
2) Take a look at the code below:-
mFollowCam = new FollowCamera( mCamera );
mFollowCam->setGoalNode( mArenaBody->getOgreNode() );
mFollowCam->setGoalDistance( 30.0f );
mFollowCam->setJustFollow(true);
mFollowCam->setGoalNode(mDummyBody->getNewtonBody()->getOgreNode() );
Why do we need GoalNode, GoalDistance and then subsequently another GoalNode (overriding the previous GoalNode?)
Thanks.