Elin Modding Docs Doc
Loading...
Searching...
No Matches
RigidAngle.cs
1using System;
2using UnityEngine;
3
4// Token: 0x02000518 RID: 1304
5public class RigidAngle : RigidUpdate
6{
7 // Token: 0x0600230C RID: 8972 RVA: 0x000C550C File Offset: 0x000C370C
8 public override void OnFixedUpdate()
9 {
10 float num = Mathf.Lerp(this.rb.rotation, this.angle, this.force);
11 this.rb.MoveRotation(num);
12 }
13
14 // Token: 0x04001283 RID: 4739
15 public float angle;
16
17 // Token: 0x04001284 RID: 4740
18 public float force = 0.05f;
19}