portal-traversal-physics

Installation
SKILL.md

Portal Traversal and Physics

What this builds

Continuous movement through a portal. An object approaches portal A, its leading half emerges from portal B while its trailing half is still in front of A, and at the moment its centre crosses the plane it teleports with no visible discontinuity. The camera does the same, with no frame where the viewer sees the transition happen.

  • Robust plane-crossing detection that survives fast movement and frame drops
  • The teleport transform for position, orientation and velocity
  • Ghost clones so an object appears on both sides while straddling
  • Clipping planes so neither half pokes through the wall the portal sits in
  • Camera traversal with no visible frame of discontinuity
  • Correct handling of angular velocity and scale differences between portals

When to use / when not to

Installs
2
First Seen
Aug 30, 2026
portal-traversal-physics — avnehsbhatia/ultraui