Question by
AzadfekrP · May 16, 2018 at 06:34 PM ·
playerairplaneterraincolliderreset-position
How to reset airplane's position once they crash into any part of the terrain?,After plane crashes, reset the player's position?
I'm just trying to get the player to reset it's position once it crashes into any part of the terrain. Here's my code so far:
using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;
public class triggerScript : MonoBehaviour
{
void OnTriggerEnter(Collider other)
{
}
// Use this for initialization
void Start()
{
}
// Update is called once per frame
void Update()
{
}
}
What can I do to get it to reset the airplane's position without importing extra cubes and things? Thanks.
Comment
Your answer
Follow this Question
Related Questions
how to add rigidbody to my mouseposition 1 Answer
How to damage player when bullet collides with player. 0 Answers
Player on a predefinite path...best way of... 0 Answers
Player moves indefinitely after collision 0 Answers
Dash Movement Platformer 0 Answers