Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

OneWayColliderOptions

A one-way platform a character jumps up through and stands on from above, as Godot’s one_way_collision and Unity’s PlatformEffector2D with its 180-degree surface arc: a character’s walk meets one of its faces only where the face points up, in the world, and the character comes down onto it, and passes it while the character overlaps it from anywhere but shallowly from above. Queries, weapons, sight and dynamic bodies meet it from every side, as Godot’s raycasts do. A convex shape alone: a straight cast that enters one through a face it passes leaves it without meeting an upward face from outside, which a mesh, a heightfield or voxels cannot promise. A tile layer’s one-way tiles are one collider per run.

Property Type
oneWay true
shape DynamicColliderShape
trigger? false