Smooth diagonal movement.
by Mquaker · 05/01/2008 (6:37 am) · 1 comments
This Resource Based to : Splitting Left and Right Strafe Animations
player.cpp
Around 125 Line
Then Compile Your Source Code.
Sorry, My Bad English. :)
player.cpp
Around 125 Line
{ "strafeL", { -0.1f, 0.0f, 0.0f } },
{ "strafeR", { +0.1f, 0.0f, 0.0f } },replace to{ "strafeL", { [b]-0.8f[/b], 0.0f, 0.0f } },
{ "strafeR", { [b]+0.8f[/b], 0.0f, 0.0f } },Then Compile Your Source Code.
Sorry, My Bad English. :)
Torque Owner David Dougher
Pariah Games
My original code actually makes you move more on a diagonal than if you are going left/right, forward/backward. I'll look into changing the resource.
Cordially,
D. Dougher