UECombatComponent::SetAiming

Clear·2025년 3월 2일

EPortfolio docs
UECombatComponent

EquippedWeapon 로 조준합니다.

Reference

  • AEPlayer::AimingAction | 에임 액션시

Code

	void SetAiming
    (
    	bool bIsAiming
    );

Paramter

  • bIsAiming
    조준 여부

Functioning

  • EquippedWeapon 유효한지 확인합니다.

  • HasAuthorityPlayer 가 서버 권한이 있는지 확인
    • 서버 권한이라면 bAiming 업데이트 합니다.
    • 서버 권한이 아니라면 ServerSetAiming 서버에서 조준 업데이트

IsLocallyControlled 현재 로컬에서 조작중인지 확인 이라면 EquippedWeapon Aimimg 실행


CrosshairAimFactor 업데이트

profile
Programmer

0개의 댓글