Hivemind
  • 🔍Start Here
  • 💻Code Systems
    • 🐎Ultimate Horse System
      • Documentation
      • Integration Guide
    • 🚀Ultimate Spaceship System (USS) Knowledge Base
      • 📖USS Documentation
      • 🧩USS Integration Guide
    • 🚂Ultimate Train System
      • Dokumentation
      • Integration Guide
    • ⚔️Modular Character System
      • Documentation
      • Trailer
    • ⚒️Ultimate Building System Framework (UBS)
      • 🔍Introduction
      • Installation
        • Example Content Setup
      • Developer Settings
        • Initial Setup
        • Collision Channels
      • Quick Start
      • Ultimate Building System Component (UBS)
      • Buildable Definition
      • Buildable
        • Actions
        • Tag Qualifier Conditions
        • Dependencies
      • Proxy Behaviour
        • Trace Behaviour
        • Proxy Location Offset
        • Placement Conditions
        • Post Build Events
      • Using your own Meshes
      • Global Function References
  • ✨VFX
    • 🩸Realistic Blood VFX
      • Documentation
      • Video Tutorial
    • 🩸Stylized Blood VFX
      • Documentation
    • 💥Realistic Gun Effects
      • Documentation
    • ☁️Smoke & Fog VFX Knowledge Base
      • 📖Smoke & Fog Documentation
      • 📸Video Tutorials
  • 🏡Environments
    • 🌃 Cyberpunk City
      • Level Instance
      • Tech Tools
    • 🏰Modular Castle & Dungeon
      • Documentation
      • Trailer
    • 🏘️Modular Rural Town
      • Documentation
      • Trailer
Powered by GitBook
On this page
  1. Code Systems
  2. Ultimate Building System Framework (UBS)
  3. Proxy Behaviour

Trace Behaviour

PreviousProxy BehaviourNextProxy Location Offset

Last updated 6 months ago

The Trace Behaviour class allows you to create custom logic for proxy placement. For example, the First Person Forward Trace, included in the plugin, uses a first-person camera and a set forward trace distance to determine where to place the proxy. Make sure to return the hit result as it is essential for the proxy to be placed correctly.

To create your own trace logic, simply subclass the UBF_TraceBehaviour class and override the Execute function. Any properties you define within this class will appear in the Buildable Definition, allowing you to modify them for each specific buildable.

Functions

  • Execute() This is where you create your logic for how you want the placement trace to behave.

💻
⚒️
Example of a Trace Behavior Execute Function