tModLoader v2024.10
A mod to make and play Terraria mods
Collision Member List

This is the complete list of members for Collision, including all inherited members.

AdvancedTileCollision(bool[] forcedIgnoredTiles, Vector2 Position, Vector2 Velocity, int Width, int Height, bool fallThrough=false, bool fall2=false, int gravDir=1) (defined in Collision)Collisionstatic
AimingLaserScan(Vector2 startPoint, Vector2 endPoint, float samplingWidth, int samplesToTake, out Vector2 vectorTowardsTarget, out float[] samples) (defined in Collision)Collisionstatic
AnyCollision(Vector2 Position, Vector2 Velocity, int Width, int Height, bool evenActuated=false) (defined in Collision)Collisionstatic
AnyCollisionWithSpecificTiles(Vector2 Position, Vector2 Velocity, int Width, int Height, bool[] tilesWeCanCollideWithByType, bool evenActuated=false) (defined in Collision)Collisionstatic
AnyHurtingTiles(Vector2 Position, int Width, int Height) (defined in Collision)Collisionstatic
CanHit(Entity source, Entity target) (defined in Collision)Collisionstatic
CanHit(Entity source, NPCAimedTarget target) (defined in Collision)Collisionstatic
CanHit(Vector2 Position1, int Width1, int Height1, Vector2 Position2, int Width2, int Height2) (defined in Collision)Collisionstatic
CanHit(Point Position1, int Width1, int Height1, Point Position2, int Width2, int Height2) (defined in Collision)Collisionstatic
CanHitLine(Vector2 Position1, int Width1, int Height1, Vector2 Position2, int Width2, int Height2) (defined in Collision)Collisionstatic
CanHitWithCheck(Vector2 Position1, int Width1, int Height1, Vector2 Position2, int Width2, int Height2, Utils.TileActionAttempt check) (defined in Collision)Collisionstatic
CanTileHurt(ushort type, int i, int j, Player player) (defined in Collision)Collisionstatic
CheckAABBvAABBCollision(Vector2 position1, Vector2 dimensions1, Vector2 position2, Vector2 dimensions2) (defined in Collision)Collisionstatic
CheckAABBvLineCollision(Vector2 aabbPosition, Vector2 aabbDimensions, Vector2 lineStart, Vector2 lineEnd) (defined in Collision)Collisionstatic
CheckAABBvLineCollision(Vector2 objectPosition, Vector2 objectDimensions, Vector2 lineStart, Vector2 lineEnd, float lineWidth, ref float collisionPoint) (defined in Collision)Collisionstatic
CheckAABBvLineCollision2(Vector2 aabbPosition, Vector2 aabbDimensions, Vector2 lineStart, Vector2 lineEnd) (defined in Collision)Collisionstatic
CheckLinevLine(Vector2 a1, Vector2 a2, Vector2 b1, Vector2 b2) (defined in Collision)Collisionstatic
down (defined in Collision)Collisionstatic
DrownCollision(Vector2 Position, int Width, int Height, float gravDir=-1f, bool includeSlopes=false) (defined in Collision)Collisionstatic
EmptyTile(int i, int j, bool ignoreTiles=false) (defined in Collision)Collisionstatic
Epsilon (defined in Collision)Collisionstatic
ExpandVertically(int startX, int startY, out int topY, out int bottomY, int maxExpandUp=100, int maxExpandDown=100) (defined in Collision)Collisionstatic
FindCollisionDirection(out int Direction, Vector2 position, int Width, int Height, bool fallThrough=false, bool fall2=false, int gravDir=1) (defined in Collision)Collisionstatic
FindCollisionTile(int Direction, Vector2 position, float testMagnitude, int Width, int Height, bool fallThrough=false, bool fall2=false, int gravDir=1, bool checkCardinals=true, bool checkSlopes=false) (defined in Collision)Collisionstatic
GetEntityEdgeTiles(List< Point > p, Entity entity, bool left=true, bool right=true, bool up=true, bool down=true) (defined in Collision)Collisionstatic
GetTileRotation(Vector2 position) (defined in Collision)Collisionstatic
GetTilesIn(Vector2 TopLeft, Vector2 BottomRight) (defined in Collision)Collisionstatic
GetWaterLine(Point pt, out float waterLineHeight) (defined in Collision)Collisionstatic
GetWaterLine(int X, int Y, out float waterLineHeight) (defined in Collision)Collisionstatic
GetWaterLineIterate(Point pt, out float waterLineHeight) (defined in Collision)Collisionstatic
GetWaterLineIterate(int X, int Y, out float waterLineHeight) (defined in Collision)Collisionstatic
HitTiles(Vector2 Position, Vector2 Velocity, int Width, int Height) (defined in Collision)Collisionstatic
HitWallSubstep(int x, int y) (defined in Collision)Collisionstatic
honey (defined in Collision)Collisionstatic
HurtTiles(Vector2 Position, int Width, int Height, Player player) (defined in Collision)Collisionstatic
InTileBounds(int x, int y, int lx, int ly, int hx, int hy) (defined in Collision)Collisionstatic
IsClearSpotTest(Vector2 position, float testMagnitude, int Width, int Height, bool fallThrough=false, bool fall2=false, int gravDir=1, bool checkCardinals=true, bool checkSlopes=false) (defined in Collision)Collisionstatic
IsWorldPointSolid(Vector2 pos, bool treatPlatformsAsNonSolid=false) (defined in Collision)Collisionstatic
landMine (defined in Collision)Collisionstatic
LaserScan(Vector2 samplingPoint, Vector2 directionUnit, float samplingWidth, float maxDistance, float[] samples) (defined in Collision)Collisionstatic
LavaCollision(Vector2 Position, int Width, int Height) (defined in Collision)Collisionstatic
noSlopeCollision(Vector2 Position, Vector2 Velocity, int Width, int Height, bool fallThrough=false, bool fall2=false) (defined in Collision)Collisionstatic
shimmer (defined in Collision)Collisionstatic
SlopeCollision(Vector2 Position, Vector2 Velocity, int Width, int Height, float gravity=0f, bool fall=false) (defined in Collision)Collisionstatic
sloping (defined in Collision)Collisionstatic
SolidCollision(Vector2 Position, int Width, int Height) (defined in Collision)Collisionstatic
SolidCollision(Vector2 Position, int Width, int Height, bool acceptTopSurfaces) (defined in Collision)Collisionstatic
SolidTiles(Vector2 position, int width, int height) (defined in Collision)Collisionstatic
SolidTiles(int startX, int endX, int startY, int endY) (defined in Collision)Collisionstatic
SolidTiles(Vector2 position, int width, int height, bool allowTopSurfaces) (defined in Collision)Collisionstatic
SolidTiles(int startX, int endX, int startY, int endY, bool allowTopSurfaces) (defined in Collision)Collisionstatic
SolidTilesVersatile(int startX, int endX, int startY, int endY) (defined in Collision)Collisionstatic
stair (defined in Collision)Collisionstatic
stairFall (defined in Collision)Collisionstatic
StepConveyorBelt(Entity entity, float gravDir) (defined in Collision)Collisionstatic
StepDown(ref Vector2 position, ref Vector2 velocity, int width, int height, ref float stepSpeed, ref float gfxOffY, int gravDir=1, bool waterWalk=false) (defined in Collision)Collisionstatic
StepUp(ref Vector2 position, ref Vector2 velocity, int width, int height, ref float stepSpeed, ref float gfxOffY, int gravDir=1, bool holdsMatching=false, int specialChecksMode=0) (defined in Collision)Collisionstatic
StickyTiles(Vector2 Position, Vector2 Velocity, int Width, int Height) (defined in Collision)Collisionstatic
SwitchTiles(Vector2 Position, int Width, int Height, Vector2 oldPosition, int objType) (defined in Collision)Collisionstatic
SwitchTilesNew(Vector2 Position, int Width, int Height, Vector2 oldPosition, int objType) (defined in Collision)Collision
TileCollision(Vector2 Position, Vector2 Velocity, int Width, int Height, bool fallThrough=false, bool fall2=false, int gravDir=1) (defined in Collision)Collisionstatic
TupleHitLine(int x1, int y1, int x2, int y2, int ignoreX, int ignoreY, List< Tuple< int, int > > ignoreTargets, out Tuple< int, int > col) (defined in Collision)Collisionstatic
TupleHitLineWall(int x1, int y1, int x2, int y2) (defined in Collision)Collisionstatic
up (defined in Collision)Collisionstatic
WalkDownSlope(Vector2 Position, Vector2 Velocity, int Width, int Height, float gravity=0f) (defined in Collision)Collisionstatic
WaterCollision(Vector2 Position, Vector2 Velocity, int Width, int Height, bool fallThrough=false, bool fall2=false, bool lavaWalk=true) (defined in Collision)Collisionstatic
WetCollision(Vector2 Position, int Width, int Height) (defined in Collision)Collisionstatic