Spawnpoint and respawn stuff
New LurchRespawn component holds respawn points and checks for level bounds as well as fall distance. The closest respawn point will be selected, all previous respawn points will be marked invalid (no longer available).
This commit is contained in:
@@ -118,7 +118,7 @@ public class LurchMovement : MonoBehaviour {
|
||||
}
|
||||
}
|
||||
|
||||
bool LurchOnGround()
|
||||
public bool LurchOnGround()
|
||||
{
|
||||
RaycastHit hit;
|
||||
if (Physics.Raycast(theLurch.position, Vector3.down, out hit, 0.4f))
|
||||
|
||||
Reference in New Issue
Block a user