TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ Collision_MoveBlazingWheel()

void Terraria.NPC.Collision_MoveBlazingWheel ( )
inlineprivate

Definition at line 109931 of file NPC.cs.

109932 {
109933 //IL_0056: Unknown result type (might be due to invalid IL or missing references)
109934 //IL_0058: Unknown result type (might be due to invalid IL or missing references)
109935 //IL_0061: Unknown result type (might be due to invalid IL or missing references)
109936 //IL_0066: Unknown result type (might be due to invalid IL or missing references)
109937 Vector2 vector = default(Vector2);
109938 ((Vector2)(ref vector))._002Ector(position.X + (float)(width / 2), position.Y + (float)(height / 2));
109939 int num = 12;
109940 int num2 = 12;
109941 vector.X -= num / 2;
109942 vector.Y -= num2 / 2;
109943 velocity = Collision.noSlopeCollision(vector, velocity, num, num2, fallThrough: true, fall2: true);
109944 }
Vector2 velocity
The velocity of this Entity in world coordinates per tick.
Definition Entity.cs:33
Vector2 position
The position of this Entity in world coordinates.
Definition Entity.cs:28
int width
The width of this Entity's hitbox, in pixels.
Definition Entity.cs:46
int height
The height of this Entity's hitbox, in pixels.
Definition Entity.cs:51

References Terraria.Collision.noSlopeCollision().

+ Here is the call graph for this function: