prepare for model

This commit is contained in:
VDH
2025-09-09 10:35:36 +07:00
parent f1ca00030d
commit e9d6046565
7 changed files with 250 additions and 9 deletions
+7 -2
View File
@@ -24,8 +24,9 @@ public class CharacterCtrl : MonoBehaviour
float gravityValue = -9.81f;
StateAnim stateAnim = StateAnim.Idle;
Vector3 playerVelocity;
[SerializeField] bool isGrounded = false;
bool isGrounded = false;
bool isRun = false;
GameObject modle;
// ====== Ground cast config ======
[Header("Ground Cast")]
@@ -53,8 +54,12 @@ public class CharacterCtrl : MonoBehaviour
ccRadius = controller.radius;
ccSkin = controller.skinWidth;
}
SetModelHostPlayer();
}
public void SetModelHostPlayer()
{
//modle =
}
private void Start()
{
playerStateMachine.InitState(moveState);