Material Friction use for player class
by Caylo Gypsyblood · in Torque Game Engine · 03/04/2009 (11:58 pm) · 1 replies
Under Player::updateActionThread I grab material->mFriction right after Material* material =... and store it into a variable, then during the moveSpeed = part I subtract my material->mFriction variable from mDataBlock->maxBackwardSpeed and mDataBlock->maxSideSpeed. But my player movement becomes 'chunky'. How would i do this without the chunky movement? Or is there a better way to accomplish this?
Torque 3D Owner Caylo Gypsyblood