问题

问题

Component

GetCharacterMovement()

  • 使用该方法时,需在头文件中包含**#include “GameFramework/CharacterMovementComponent.h”**

转向问题

  • 在角色蓝图中的BP_xxx(self)中的Pawn属性中关闭 Use Controller Rotation Yaw 选项