INTERACTABLE OBJECTS

Ladder

A ladder the character can climb onto.

It needs a Box Collider with Is Trigger enabled which defines the area of the ladder.

And a Ladder script with the Direction set to the ladder’s direction (Left or Right).

The Climb Pos is a transform inside the ladder object which defines the character’s position when climbing the ladder.

Platform

One-way platform that the character can jump onto and get down from it.

When standing on a platform and keep pressing down key, the character can directly get down from the platform.

It needs a collider with Used By Effector enabled, a Platform Effector 2D with Collider Mask set to exclude the player layer, and a Platform script.

Last updated