Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
RigidAngle Class Reference
Inheritance diagram for RigidAngle:
RigidUpdate EMono

Public Member Functions

override void OnFixedUpdate ()
 
virtual void OnFixedUpdate ()
 

Public Attributes

float angle
 
float force = 0.05f
 
- Public Attributes inherited from RigidUpdate
Rigidbody2D rb
 
bool active = true
 
CollectibleActor _actor
 

Additional Inherited Members

- Static Public Member Functions inherited from EMono
static int rnd (int a)
 
- Static Public Attributes inherited from RigidUpdate
static float delta
 
static float leftX
 
static float rightX
 
- Static Public Attributes inherited from EMono
static Core core
 
- Properties inherited from RigidUpdate
CollectibleActor actor [get]
 
- Properties inherited from EMono
static Game game [get]
 
static bool AdvMode [get]
 
static Player player [get]
 
static Chara pc [get]
 
static UI ui [get]
 
static Map _map [get]
 
static Zone _zone [get]
 
static FactionBranch Branch [get]
 
static FactionBranch BranchOrHomeBranch [get]
 
static Faction Home [get]
 
static Scene scene [get]
 
static BaseGameScreen screen [get]
 
static GameSetting setting [get]
 
static GameData gamedata [get]
 
static ColorProfile Colors [get]
 
static World world [get]
 
static SoundManager Sound [get]
 
static SourceManager sources [get]
 
static SourceManager editorSources [get]
 
static CoreDebug debug [get]
 

Detailed Description

Definition at line 3 of file RigidAngle.cs.

Member Function Documentation

◆ OnFixedUpdate()

override void RigidAngle.OnFixedUpdate ( )
inlinevirtual

Reimplemented from RigidUpdate.

Definition at line 9 of file RigidAngle.cs.

10 {
11 float num = Mathf.Lerp(rb.rotation, angle, force);
12 rb.MoveRotation(num);
13 }
float force
Definition: RigidAngle.cs:7
float angle
Definition: RigidAngle.cs:5
Rigidbody2D rb
Definition: RigidUpdate.cs:13

References angle, force, and RigidUpdate.rb.

Member Data Documentation

◆ angle

float RigidAngle.angle

Definition at line 5 of file RigidAngle.cs.

Referenced by OnFixedUpdate().

◆ force

float RigidAngle.force = 0.05f

Definition at line 7 of file RigidAngle.cs.

Referenced by OnFixedUpdate().


The documentation for this class was generated from the following file: