Skip to content

Player Collision detection

ModCS.Player.TouchLeftWall()

ModCS.Player.TouchLeftWall()

Returns true if the player is touching a left wall.

ModCS.Player.TouchRightWall()

ModCS.Player.TouchRightWall()

Returns true if the player is touching a right wall.

ModCS.Player.TouchCeiling()

ModCS.Player.TouchCeiling()

Returns true if the player is touching a ceiling.

ModCS.Player.TouchFloor()

ModCS.Player.TouchFloor()

Returns true if the player is touching a floor.

ModCS.Player.TouchSlopeRight()

ModCS.Player.TouchSlopeRight()

Returns true if the player is touching a right slope.

ModCS.Player.TouchSlopeLeft()

ModCS.Player.TouchSlopeLeft()

Returns true if the player is touching a left slope.

ModCS.Player.TouchTile()

ModCS.Player.TouchTile()

Returns true if the player is touching any type of collision tile.