전체 글 (50) 썸네일형 리스트형 유니티(Unity) 플레이어 벽 뚫림 방지 해당 스크립트는 벽 오브젝트에 넣는다. 일반적으로 플레이어 속도가 빠를 때 뚫고 지나가버리는 현상이 나타나므로 벽에 부딪쳤을 때, 플레이어 속도를 제어하는 방식으로 뚫림현상을 막는다. using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerStop_Wall : MonoBehaviour { private int trigger = 0; void OnCollisionEnter(Collision other) { Debug.Log("콜리전enter 작동중"); if(trigger == 0) { if (other.collider.CompareTag("Player")) { other.transfor.. Unity Netcode 절차 Unity Netcode Relay server 간단한 구동 테스트 https://unity-practice.tistory.com/10 Unity Relay서버 https://docs.unity.com/relay/relay-and-ngo.html Use Relay with Netcode for GameObjects (NGO) Use Relay with Netcode for GameObjects (NGO) Relay works seamlessly with Netcode for GameObjects (NGO), which is a Unity package that provides networking capabilit unity-practice.tistory.com 기본적인 개념입니다. Meeting Room 에 들어가면... creatRoom을 누르면... 다른 pc에서 접.. 이전 1 ··· 11 12 13 14 15 16 17 다음