Skip to content

rsc-digital-dev/UE-PSN-Plugin

Repository files navigation

Posi Stage Net

An Open Protocol for On-Stage, Live 3D Position Data

Unreal Engine Integration

By Daniel Orchard with the Royal Shakespeare Company

Posi Stage Net Website | Posi Stage Net Sourcecode

This plugin is built against PSN version 2.03

For commercial licensing please contact digital.dev@rsc.org.uk

The Posi Stage Net (PSN) Integration for Unreal Engine supports both sending and receiving of PSN data.

Both the sender and receiver are contained in a Game Instance Subsystem to ensure a single instance per session.

PSN Info packets are handled internally and sent a 1hz


PSN Sender

The PSN sender is designed to keep a constant list of trackers to send. Using the AddTracker function, you can create new trackers that will be sent. There is no method for removing trackers from the stream, any trackers you wish to update can be done via the UpdateTracker function, and if it is not updated, will send the stale data from the previous update.

The PSN sender converts the Position from Unreal Units (cm) to Meters internally

PSN Sender Overview

PSN Receiver

The PSN received is a queued delegate system. You can bind to the OnTrackerReceived event from the subsystem. As a queued system, this event may fire multiple times in a single frame. Its recommended you use the ID or name as a sorting method to update the correct data.

The PSN receiver converts the Position from meters into Unreal Units (cm)

Incoming data may come in at a different scale or rotation order compared to the Unreal standard. You may need to scale your Position vector or swizzle your orientation data to match your source packages transforms.

PSN Receiver Node Overview

PSN Helper,

The PSN Helper is designed to provide an easy way to add location, rotation and scale offsets, as well as swapping X,Y and Z.

There is a pre-defined one for MA Lighting consoles that swaps X and Y so the co-ordinate spaces are aligned.

It is located in /Blueprints/Helpers

PSN Helper Node Overview

Getting Started

After downloading and adding the plugin to your project/plugins folder (create if necessary), restart the editor and you will will see the PSN plugin in your plugins list.

The plugin ships with 2 demo maps and some example blueprint setups. Enable 'Show Plugin Content' in the Content Browser Settings and then check out the plugins content folder for these: /PosiStageNet/Maps/

PSN Sender Map

PSN Received

About

PosiStageNet Plugin for Unreal Engine

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •