Hello Developers, today we are releasing a beta for an enhancement to the default avatar walk/run to add strafing and backpedaling in situations where you don’t want the character to turn and face the direction of movement.
Before, a character would “moonwalk” when not heading forward, but now they will appear to walk or run sideways and backward while facing forward, as long as they are R15 and have not equipped a non-default Walk or Run.
You can activate the feature in Studio by going to the Beta Features panel and selecting the “Strafing Animations” beta feature.
Strafing is enabled if:
In summary, strafing is enabled when characters would be playing a forward animation when moving sideways. (Note that initially strafing will be deactivated if BOTH
AutoRotate is Off AND
CameraRelative, but we intend to remove this restriction next week.)
We believe that the best use for strafing is a CameraRelative rotation experience such as a third-person shooter, but feel free to experiment! Note that you may want to set
player.DevEnableMouseLock to false as well so that players cannot override your settings using shift-lock.
We also understand that there are scenarios where you are creating custom rotation behaviors and animations that do not require strafing movements, which is why we are offering this as a beta while we gather feedback from the community.
Here is a simple example of how the strafing behavior looks:
With this beta feature enabled, strafing will automatically be on all the time unless you override walk or run with animations that don’t support strafing. The system will no longer consider the state of AutoRotate or Shift Lock.
We will update the walk and run animations to better blend with strafing animations when the beta is enabled.
If this type of improvement is valuable to you, we will extend it to include the other motion style packs. We will also be adding other transitions and capabilities to the default avatar soon, so please share what you would like to see below!