TPS Strafing System
Overview
The TPS Strafing System is a movement method commonly used in third-person shooter (TPS) games. In this system, the character moves relative to the cameraβs direction. The torso stays aligned with the aiming point, while the lower body moves according to the playerβs movement direction. This allows the upper and lower body animations to play independently, enabling more flexible aiming and movement control.
How to Use
Activate Use Strafing Animations
After selecting the players in the Level Browser, activate Use Strafing Animations.

When this option is deactivated, the single movement animation will play.
When this option is enabled, animations will play in eight directions (up, down, left, right, and diagonally) based on the characterβs movement direction. This allows the character to move naturally in various directions, such as strafing, reversing, and diagonal movement.


When only the Use Strafing Animations option is enabled, the difference may not be visually noticeable. This feature must be used in conjunction with the following settings to fully experience its effects.
Set the characterβs rotation direction based on the cameraβs direction
Set the RotationType of UserGameSettings to CameraRelative so that the character rotates according to the direction of the camera.
(To restore existing settings, set it to Enum.RotationType.MovementRelative.)
In StarterCharacterScripts, write the following code for LocalScript:
When the characterβs rotation is set to follow the camera (CameraRelative) and the Use Strafing Animations option is enabled, the character will always face the direction of the camera. This setup allows the torso animation to align with the camera (aiming direction), while the lower body animations play independently based on the movement direction.

If RotationType is set to CameraRelative, the characterβs rotation speed based on the camera direction can be controlled using the CharacterTurnRate value. (The default value is -1, which means the character will rotate instantly.)
Apply Camera Offset
The cameraβs relative position can be adjusted using the CameraOffset attribute. In TPS games, the character is typically positioned slightly off-center to prevent the character from overlapping with the aiming point on the screen.
In StarterCharacterScripts, write the following code for LocalScript:

Changing the Torso Animation
The characterβs torso and lower body animations can be played separately, regardless of the Use Strafing Animations option. If the UpperBodyAnimation attribute is set to βTrueβ in the animation track, the animation will apply only to the torso.
In StarterCharacterScripts, write the following code for LocalScript:
When Use Strafing Animations and UpperBodyAnimation are used together, the torso follows the aiming direction while the lower body moves according to the movement direction, resulting in more natural and dynamic character animations.

Usage Examples
RotationType settings according to whether a gun is equipped
When no gun is equipped, it is set to MovementRelative, and the default movement animations are played
When a gun is equipped, it switches to CameraRelative to lock the characterβs vision
RotationType settings according to whether or not the character is aiming when a projectile weapon is equipped
When the character is not aiming, it is set to MovementRelative, and the default movement animations are played
When the character is aiming, it switches to CameraRelative to lock the characterβs vision
CameraOffset is processed differently depending on the weapon type
Strafing Animation Assets
Search for the Asset Name in the Asset Drawer to use animation packages. (Using the Asset Id allows direct use in scripts without placing it in the Level Browser.)
Learn How to Play Animations
Character Animation
ovdrassetid://18426300
Asset Name : BasicWalkAnimations
BasicWalkForwardAnimation
Duration: 1.13

ovdrassetid://18429100
Asset Name : BasicWalkAnimations
BasicWalkLeftAnimation
Duration: 1.13

ovdrassetid://18427600
Asset Name : BasicWalkAnimations
BasicWalkForwardLeftAnimation
Duration: 1.13

ovdrassetid://18428100
Asset Name : BasicWalkAnimations
BasicWalkForwardRightAnimation
Duration: 1.13

ovdrassetid://18430100
Asset Name : BasicWalkAnimations
BasicWalkRightAnimation
Duration: 1.13

ovdrassetid://18427200
Asset Name : BasicWalkAnimations
BasicWalkBackLeftAnimation
Duration: 1.13

ovdrassetid://18427400
Asset Name : BasicWalkAnimations
BasicWalkBackRightAnimation
Duration: 1.13

BasicWalkBackAnimation
or
ovdrassetid://18426100
Asset Name : BasicWalkAnimations
BasicWalkBackAnimation
Duration: 1.13

ovdrassetid://18400100
Asset Name : BasicAnimations
BasicRunForwardAnimation
Duration: 0.66

ovdrassetid://18402100
Asset Name : BasicAnimations
BasicRunLeftAnimation
Duration: 0.66

ovdrassetid://18401200
Asset Name : BasicAnimations
BasicRunForwardLeftAnimation
Duration: 0.66

ovdrassetid://18403200
Asset Name : BasicAnimations
BasicRunForwardRightAnimation
Duration: 0.66

ovdrassetid://18406100
Asset Name : BasicAnimations
BasicRunRightAnimation
Duration: 0.66

ovdrassetid://18408100
Asset Name : BasicAnimations
BasicRunBackLeftAnimation
Duration: 0.66

ovdrassetid://18409100
Asset Name : BasicAnimations
BasicRunBackRightAnimation
Duration: 0.66

ovdrassetid://18406200
Asset Name : BasicAnimations
BasicRunBackAnimation
Duration: 0.66

ovdrassetid://18497100
Asset Name : MeleeMovingAnimations
MeleeWalkFowardAnimation
Duration: 1.13

ovdrassetid://18491200
Asset Name : MeleeMovingAnimations
MeleeWalkLeftFowardAnimation
Duration: 1.13

ovdrassetid://18496400
Asset Name : MeleeMovingAnimations
MeleeWalkRightFowardAnimation
Duration: 1.13

ovdrassetid://18500100
Asset Name : MeleeMovingAnimations
MeleeWalkLeftAnimation
Duration: 1.13

ovdrassetid://18493100
Asset Name : MeleeMovingAnimations
MeleeWalkRightAnimation
Duration: 1.13

ovdrassetid://18494200
Asset Name : MeleeMovingAnimations
MeleeWalkBackAnimation
Duration: 1.13

ovdrassetid://18489300
Asset Name : MeleeMovingAnimations
MeleeWalkLeftBackAnimation
Duration: 1.13

ovdrassetid://18487100
Asset Name : MeleeMovingAnimations
MeleeWalkRightBackAnimation
Duration: 1.13

ovdrassetid://18495100
Asset Name : MeleeMovingAnimations
MeleeRunFowardAnimation
Duration: 0.66

ovdrassetid://18489400
Asset Name : MeleeMovingAnimations
MeleeRunLeftFowardAnimation
Duration: 0.66

ovdrassetid://18496100
Asset Name : MeleeMovingAnimations
MeleeRunRightFowardAnimation
Duration: 0.66

ovdrassetid://18487300
Asset Name : MeleeMovingAnimations
MeleeRunLeftAnimation
Duration: 0.66

ovdrassetid://18490100
Asset Name : MeleeMovingAnimations
MeleeRunRightAnimation
Duration: 0.66

ovdrassetid://18486100
Asset Name : MeleeMovingAnimations
MeleeRunBackAnimation
Duration: 0.66

ovdrassetid://18486300
Asset Name : MeleeMovingAnimations
MeleeRunLeftBackAnimation
Duration: 0.66

ovdrassetid://18490200
Asset Name : MeleeMovingAnimations
MeleeRunRightBackAnimation
Duration: 0.66

ovdrassetid://18580200
Asset Name : HandgunMovingAnimations
HandgunWalkFowardAnimation
Duration: 1.13

ovdrassetid://18585500
Asset Name : HandgunMovingAnimations
HandgunWalkLeftFowardAnimation
Duration: 1.13

ovdrassetid://18587200
Asset Name : HandgunMovingAnimations
HandgunWalkRightFowardAnimation
Duration: 1.13

ovdrassetid://18585300
Asset Name : HandgunMovingAnimations
HandgunWalkLeftAnimation
Duration: 1.13

ovdrassetid://18582100
Asset Name : HandgunMovingAnimations
HandgunWalkRightAnimation
Duration: 1.13

ovdrassetid://18574100
Asset Name : HandgunMovingAnimations
HandgunWalkBackAnimation
Duration: 1.13

ovdrassetid://18583100
Asset Name : HandgunMovingAnimations
HandgunWalkLeftBackAnimation
Duration: 1.13

ovdrassetid://18589100
Asset Name : HandgunMovingAnimations
HandgunWalkRightBackAnimation
Duration: 1.13

ovdrassetid://18586100
Asset Name : HandgunMovingAnimations
HandgunRunFowardAnimation
Duration: 0.66

ovdrassetid://18585100
Asset Name : HandgunMovingAnimations
HandgunRunLeftFowardAnimation
Duration: 0.66

ovdrassetid://18580100
Asset Name : HandgunMovingAnimations
HandgunRunRightFowardAnimation
Duration: 0.66

ovdrassetid://18581100
Asset Name : HandgunMovingAnimations
HandgunRunLeftAnimation
Duration: 0.66

ovdrassetid://18577100
Asset Name : HandgunMovingAnimations
HandgunRunRightAnimation
Duration: 0.66

ovdrassetid://18578100
Asset Name : HandgunMovingAnimations
HandgunRunBackAnimation
Duration: 0.66

ovdrassetid://18576100
Asset Name : HandgunMovingAnimations
HandgunRunLeftBackAnimation
Duration: 0.66

ovdrassetid://18588100
Asset Name : HandgunMovingAnimations
HandgunRunRightBackAnimation
Duration: 0.66

ovdrassetid://18618100
Asset Name : RifleRunFowardAnimation
RifleWalkFowardAnimation
Duration: 1.13

ovdrassetid://18619100
Asset Name : RifleRunFowardAnimation
RifleWalkLeftFowardAnimation
Duration: 1.13

ovdrassetid://18632200
Asset Name : RifleRunFowardAnimation
RifleWalkRightFowardAnimation
Duration: 1.13

ovdrassetid://18626100
Asset Name : RifleRunFowardAnimation
RifleWalkLeftAnimation
Duration: 1.13

ovdrassetid://18635600
Asset Name : RifleRunFowardAnimation
RifleWalkRightAnimation
Duration: 1.13

ovdrassetid://18621100
Asset Name : RifleRunFowardAnimation
RifleWalkBackAnimation
Duration: 1.13

ovdrassetid://18624100
Asset Name : RifleRunFowardAnimation
RifleWalkLeftBackAnimation
Duration: 1.13

ovdrassetid://18628800
Asset Name : RifleRunFowardAnimation
RifleWalkRightBackAnimation
Duration: 1.13

ovdrassetid://18631100
Asset Name : RifleRunFowardAnimation
RifleRunFowardAnimation
Duration: 0.66

ovdrassetid://18637100
Asset Name : RifleRunFowardAnimation
RifleRunLeftFowardAnimation
Duration: 0.66

ovdrassetid://18619200
Asset Name : RifleRunFowardAnimation
RifleRunRightFowardAnimation
Duration: 0.66

ovdrassetid://18638100
Asset Name : RifleRunFowardAnimation
RifleRunLeftAnimation
Duration: 0.66

ovdrassetid://18629600
Asset Name : RifleRunFowardAnimation
RifleRunRightAnimation
Duration: 0.66

ovdrassetid://18622100
Asset Name : RifleRunFowardAnimation
RifleRunBackAnimation
Duration: 0.66

ovdrassetid://18633100
Asset Name : RifleRunFowardAnimation
RifleRunLeftBackAnimation
Duration: 0.66

ovdrassetid://18627200
Asset Name : RifleRunFowardAnimation
RifleRunRightBackAnimation
Duration: 0.66
Last updated