1. 程式人生 > >[UE4]角色藍圖CharacterBlueprint中設定物件往移動方向自動轉向

[UE4]角色藍圖CharacterBlueprint中設定物件往移動方向自動轉向

角色藍圖CharacterBlueprint中,設定物件沿Z軸隨移動方向自動轉向:

bOrientRotationToMovment = true;

bUseControllerRotationYaw = false;

bOrientRotationToMovment屬於CharacterMovement元件:

 

 

bUseControllerRotationYaw屬性屬於當前藍圖的RootComponent