using System;
using Cpp2IlInjected;
using UnityEngine;

namespace RootMotion.Demos
{
	// Token: 0x020003AA RID: 938
	[Token(Token = "0x20003AA")]
	public class MechSpider : MonoBehaviour
	{
		// Token: 0x06002304 RID: 8964 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002304")]
		[Address(RVA = "0x403690", Offset = "0x402490", VA = "0x180403690")]
		private void Update()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002305 RID: 8965 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002305")]
		[Address(RVA = "0x403170", Offset = "0x401F70", VA = "0x180403170")]
		private Vector3 GetLegCentroid()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002306 RID: 8966 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002306")]
		[Address(RVA = "0x4032F0", Offset = "0x4020F0", VA = "0x1804032F0")]
		private Vector3 GetLegsPlaneNormal()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002307 RID: 8967 RVA: 0x00050730 File Offset: 0x0004E930
		[Token(Token = "0x6002307")]
		[Address(RVA = "0x403FD0", Offset = "0x402DD0", VA = "0x180403FD0")]
		public MechSpider()
		{
		}

		// Token: 0x04002C39 RID: 11321
		[FieldOffset(Offset = "0x18")]
		[Token(Token = "0x4002C39")]
		public LayerMask raycastLayers;

		// Token: 0x04002C3A RID: 11322
		[FieldOffset(Offset = "0x1C")]
		[Token(Token = "0x4002C3A")]
		public float scale = 1f;

		// Token: 0x04002C3B RID: 11323
		[FieldOffset(Offset = "0x20")]
		[Token(Token = "0x4002C3B")]
		public Transform body;

		// Token: 0x04002C3C RID: 11324
		[FieldOffset(Offset = "0x28")]
		[Token(Token = "0x4002C3C")]
		public MechSpiderLeg[] legs;

		// Token: 0x04002C3D RID: 11325
		[FieldOffset(Offset = "0x30")]
		[Token(Token = "0x4002C3D")]
		public float legRotationWeight = 1f;

		// Token: 0x04002C3E RID: 11326
		[FieldOffset(Offset = "0x34")]
		[Token(Token = "0x4002C3E")]
		public float rootPositionSpeed = 5f;

		// Token: 0x04002C3F RID: 11327
		[FieldOffset(Offset = "0x38")]
		[Token(Token = "0x4002C3F")]
		public float rootRotationSpeed = 30f;

		// Token: 0x04002C40 RID: 11328
		[FieldOffset(Offset = "0x3C")]
		[Token(Token = "0x4002C40")]
		public float breatheSpeed = 2f;

		// Token: 0x04002C41 RID: 11329
		[FieldOffset(Offset = "0x40")]
		[Token(Token = "0x4002C41")]
		public float breatheMagnitude = 0.2f;

		// Token: 0x04002C42 RID: 11330
		[FieldOffset(Offset = "0x44")]
		[Token(Token = "0x4002C42")]
		public float height = 3.5f;

		// Token: 0x04002C43 RID: 11331
		[FieldOffset(Offset = "0x48")]
		[Token(Token = "0x4002C43")]
		public float minHeight = 2f;

		// Token: 0x04002C44 RID: 11332
		[FieldOffset(Offset = "0x4C")]
		[Token(Token = "0x4002C44")]
		public float raycastHeight = 10f;

		// Token: 0x04002C45 RID: 11333
		[FieldOffset(Offset = "0x50")]
		[Token(Token = "0x4002C45")]
		public float raycastDistance = 5f;

		// Token: 0x04002C46 RID: 11334
		[FieldOffset(Offset = "0x54")]
		[Token(Token = "0x4002C46")]
		private Vector3 lastPosition;

		// Token: 0x04002C47 RID: 11335
		[FieldOffset(Offset = "0x60")]
		[Token(Token = "0x4002C47")]
		private Vector3 defaultBodyLocalPosition;

		// Token: 0x04002C48 RID: 11336
		[FieldOffset(Offset = "0x6C")]
		[Token(Token = "0x4002C48")]
		private float sine;

		// Token: 0x04002C49 RID: 11337
		[FieldOffset(Offset = "0x70")]
		[Token(Token = "0x4002C49")]
		private RaycastHit rootHit;
	}
}
