Quantcast
Channel: Questions in topic: "error message"
Viewing all articles
Browse latest Browse all 2891

Respawn Error cs1513

$
0
0
Hello people! I am having a slight problem with my game, at the moment I have a parkhour game which is not allowing me to respawn the player when it falls to the platform I've tried multiple ways and its not seem to work using UnityEngine; using System.Collections; public class respawnPosition : MonoBehaviour { void Start() { respawnPosition.position = GameObject.FindGameObjectWithTag ("Respawn").transform; } void OnTriggerEnter (Collider other) { if (other.gameObject.tag == "Fallout") { this.rigidbody.isKinematic = true; falling = false; { if (other.gameObject.tag == "Respawn") { transform.position = respawnPosition.position; }

Viewing all articles
Browse latest Browse all 2891

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>