using System;
using Cpp2IlInjected;
using UnityEngine;

namespace RootMotion.Demos
{
	// Token: 0x02000402 RID: 1026
	[Token(Token = "0x2000402")]
	public class MechSpider : MonoBehaviour
	{
		// Token: 0x060025CD RID: 9677 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x60025CD")]
		[Address(RVA = "0x426600", Offset = "0x425600", VA = "0x180426600")]
		private void Update()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x060025CE RID: 9678 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x60025CE")]
		[Address(RVA = "0x4260E0", Offset = "0x4250E0", VA = "0x1804260E0")]
		private Vector3 GetLegCentroid()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x060025CF RID: 9679 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x60025CF")]
		[Address(RVA = "0x426260", Offset = "0x425260", VA = "0x180426260")]
		private Vector3 GetLegsPlaneNormal()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x060025D0 RID: 9680 RVA: 0x000579DC File Offset: 0x00055BDC
		[Token(Token = "0x60025D0")]
		[Address(RVA = "0x426F40", Offset = "0x425F40", VA = "0x180426F40")]
		public MechSpider()
		{
		}

		// Token: 0x04002F23 RID: 12067
		[FieldOffset(Offset = "0x18")]
		[Token(Token = "0x4002F23")]
		public LayerMask raycastLayers;

		// Token: 0x04002F24 RID: 12068
		[FieldOffset(Offset = "0x1C")]
		[Token(Token = "0x4002F24")]
		public float scale = 1f;

		// Token: 0x04002F25 RID: 12069
		[FieldOffset(Offset = "0x20")]
		[Token(Token = "0x4002F25")]
		public Transform body;

		// Token: 0x04002F26 RID: 12070
		[FieldOffset(Offset = "0x28")]
		[Token(Token = "0x4002F26")]
		public MechSpiderLeg[] legs;

		// Token: 0x04002F27 RID: 12071
		[FieldOffset(Offset = "0x30")]
		[Token(Token = "0x4002F27")]
		public float legRotationWeight = 1f;

		// Token: 0x04002F28 RID: 12072
		[FieldOffset(Offset = "0x34")]
		[Token(Token = "0x4002F28")]
		public float rootPositionSpeed = 5f;

		// Token: 0x04002F29 RID: 12073
		[FieldOffset(Offset = "0x38")]
		[Token(Token = "0x4002F29")]
		public float rootRotationSpeed = 30f;

		// Token: 0x04002F2A RID: 12074
		[FieldOffset(Offset = "0x3C")]
		[Token(Token = "0x4002F2A")]
		public float breatheSpeed = 2f;

		// Token: 0x04002F2B RID: 12075
		[FieldOffset(Offset = "0x40")]
		[Token(Token = "0x4002F2B")]
		public float breatheMagnitude = 0.2f;

		// Token: 0x04002F2C RID: 12076
		[FieldOffset(Offset = "0x44")]
		[Token(Token = "0x4002F2C")]
		public float height = 3.5f;

		// Token: 0x04002F2D RID: 12077
		[FieldOffset(Offset = "0x48")]
		[Token(Token = "0x4002F2D")]
		public float minHeight = 2f;

		// Token: 0x04002F2E RID: 12078
		[FieldOffset(Offset = "0x4C")]
		[Token(Token = "0x4002F2E")]
		public float raycastHeight = 10f;

		// Token: 0x04002F2F RID: 12079
		[FieldOffset(Offset = "0x50")]
		[Token(Token = "0x4002F2F")]
		public float raycastDistance = 5f;

		// Token: 0x04002F30 RID: 12080
		[FieldOffset(Offset = "0x54")]
		[Token(Token = "0x4002F30")]
		private Vector3 lastPosition;

		// Token: 0x04002F31 RID: 12081
		[FieldOffset(Offset = "0x60")]
		[Token(Token = "0x4002F31")]
		private Vector3 defaultBodyLocalPosition;

		// Token: 0x04002F32 RID: 12082
		[FieldOffset(Offset = "0x6C")]
		[Token(Token = "0x4002F32")]
		private float sine;

		// Token: 0x04002F33 RID: 12083
		[FieldOffset(Offset = "0x70")]
		[Token(Token = "0x4002F33")]
		private RaycastHit rootHit;
	}
}
