Hi all What I trying to do is implement a pressure pad within my terrain so that when the character steps on it, it depresses into the terrain. All I got for it is a cube set midway through the terrain with the following script attached:
function FixedUpdate() { var dwn = transform.TransformDirection(Vector3.down); transform.Translate(0, -0.1*Time.deltaTime, 0); }
As your well aware this only make the cube keep going through the terrain. Help much appreciated.