P-152: Virtual World Concept Update 150: Planet-sized Terrain: Part 29
The camera issues have been fixed, it appears that I left some code in the processtick() function from a previous attempt to solve the orientation issue, and that was causing problems. I now only have the movement and control issue to solve.
I have tried various means of rotating the players movement vector so that it faces in the new direction, but this doesn’t seem to be a viable solution. I have now tracked the origin of the actual “Move” itself to MoveList::getNextMove().
This is the function which takes the input from the user and actually turns it into a move. The relevant lines of code are:
curMove.x = MoveManager::mRightAction – MoveManager::mLeftAction + MoveManager::mXAxis_L;
curMove.y = MoveManager::mForwardAction – MoveManager::mBackwardAction + MoveManager::mYAxis_L;
curMove.z = MoveManager::mUpAction – MoveManager::mDownAction;
This means that the move is hardcoded along the X,Y and Z axes. I basically need to change these axes based on the current orientation of the player. I am not sure how to do this yet.

06/08/2016 , 11:26:44 PM
Torque 3D MIT – P152

06/08/2016 , 07:39:39 PM
Torque 3D MIT – P152
