SLS Character Movement Component

这是继承于 Character Movement Component 的C++类,插件使用了自定义角色运动组件,目的是有效的复制动画系统所需的一些值,并稍微扩展了基类的功能。

This is a C++ class that inherits from the Character Movement Component. The plugin uses a custom character movement component to effectively replicate some of the values required by the animation system and slightly extend the functionality of the base class. To use it, you'll need to change the character's movement component to SLSCharacterMovementComponent. To do this, click the Character Movement Component in the Character Blueprint and then change the Class to SLSCharacterMovementComponent in the Details panel.
By default, for the newly created character blueprint, in order for the system to work properly, you also need to click the "Apply Base SLSCharacterMovementComponent Settings" button below to apply the initial settings.

Additional Features

Movement input interface (In addition to the default input, simple movement in the ragdoll state is also designed)
Basic camera input interface
You can change the sensitivity of the camera input in the settings (or in the integration data asset if you are using the integrated component):
Get and update motion sets
Get and update the Masking overlay set
Get and update custom animation layers
Get and update movement modes (maximum speed and acceleration for each movement can be changed in the movement set data asset)
Get and update the rotation mode (there are three rotation modes in the system)
VelocityDirection:Always facing the direction of speed.
LookingDirection:Sweep direction, the character rotates to always face the direction the camera is looking.
AimingDirection:Aim direction (the direction to look towards the camera).
Ragdoll status acquisition and switching
You can update the custom rotation interpolation to update the interpolation speed during rotations such as turning and running back to better handle the character's rotation.
You can adjust the speed rate for non-forward movement by checking AdjustMaxSpeedByMovementDirection and modifying SpeedRateNotForwardMove.
You can customize the landing roll animation and the ragdoll state stand-up configuration.

Additional event notifications

OnInitializeSLSCharacterMovementDelegate: Triggered when the character motion component has been initialized
OnUpdateMovementTypeDelegate: Triggered when the current motion type has changed
OnUpdateRotationModeDelegate: Triggered when the current rotation mode has changed
OnUpdateMotionSetDelegate: Triggered when the motion dataset has changed (toggled)
OnUpdateMaskingSetDelegate: Triggered when the masking dataset has changed (toggled)
OnUpdateCustomLayerDelegate: Triggered when the custom motion animation instance has changed (toggled)
OnRagdollStateChangedDelegate: Triggered when the ragdoll state has changed
OnRollOnLandDelegate: Triggered when a roll motion is triggered upon landing

Comments

Table of Contents