스킬 시스템에 루트 모션 지원 추가
- SkillData: useRootMotion, ignoreRootMotionY 설정 추가 - SkillController: 루트 모션 관련 프로퍼티 노출 - PlayerMovement: OnAnimatorMove로 스킬 애니메이션의 이동/회전 데이터 적용 - Y축 무시 옵션으로 중력 및 충돌 처리 유지 가능 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -32,7 +32,10 @@ namespace Colosseum.Skills
|
||||
|
||||
public bool IsExecutingSkill => currentSkill != null && !skillEndRequested;
|
||||
public bool IsPlayingAnimation => currentSkill != null;
|
||||
public bool UsesRootMotion => currentSkill != null && currentSkill.UseRootMotion;
|
||||
public bool IgnoreRootMotionY => currentSkill != null && currentSkill.IgnoreRootMotionY;
|
||||
public SkillData CurrentSkill => currentSkill;
|
||||
public Animator Animator => animator;
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user