Four Dimensional Portals: A Physics-Based Portal System

The Four Dimensional Portals package is a physics-based portal system for Unity. It enables the rendering of portals recursively, seamless object transfer between portals, and collision handling between objects across portals. The package also allows for customization of portal appearance using custom shaders. The source code is fully included in C#.

Key features include:

  • Recursive portal rendering
  • Seamless object transfer between portals
  • Collision handling between objects across portals
  • Customizable portal appearance with custom shaders
  • Full C# source code included

Please note the following:

  • This system does not support the Unity built-in character controller component. A simple rigidbody character controller implementation is included, but users may need to customize their character controller.
  • The demo scenes require the Input System and Shader Graph packages to work.
  • Rendering a portal with an oblique projection matrix can cause issues with z-depth and effects using z depth (e.g., ssao in urp).
  • The OnCollisionXXX callbacks may not work properly when the collider interacts with a portal.

This package uses physics contacts modification and render texture to create a seamless portal system. It is designed to work with Unity and requires the Input System and Shader Graph packages for the demo scenes to work.

Four Dimensional Portals: A Physics-Based Portal System - Asset Store

πŸ€– Chat with AI

AI is typing

Suggested Posts

PathGrid: A Grid-Based Path System for Unity

PathGrid: A Grid-Based Path System for Unity Thumbnail

ACE Replay: A Simple State-Based Replay System

ACE Replay: A Simple State-Based Replay System Thumbnail

LaneGraph: A Lightweight Lane-Based Navigation System for Unity

LaneGraph: A Lightweight Lane-Based Navigation System for Unity Thumbnail

Narramancer: Node-Based Behavior Tree and Game Logic System

Narramancer: Node-Based Behavior Tree and Game Logic System Thumbnail

Oodles Party: Physics-Based Multiplayer Game Template

Oodles Party: Physics-Based Multiplayer Game Template Thumbnail

Grid-Based Spawn System

Grid-Based Spawn System Thumbnail