IFrameCrossingPolicy
The game's say over where entities may cross a physics frame's boundary: anywhere on the hull, or only through portals.
Nebula · Packages/com.1by3.nebula/Runtime/Containers/PhysicsFrames.cspublic interface IFrameCrossingPolicyThe game's say over where entities may cross a physics frame's boundary: anywhere on the hull, or only through portals. Asked on the worker that performs the crossing (the frame's pose owner, D15), once per tick while the entity wants to cross. Install one on PhysicsFrames.CrossingPolicy.
Methods
Decide
FrameCrossing Decide(NetworkIdentity entity, PhysicsFrame frame, bool leaving, Container from, Container to);| Parameter | Description |
|---|---|
entity | The entity that wants to cross. |
frame | The frame whose boundary it crosses. |
leaving | True when it leaves the frame for the space around it, false when it enters. |
from | The container it is in. |
to | The container it would be in after the crossing. |
HistoryRewind
A scene put back as it was at a past server tick, for as long as it is held (docs/portals.md D33; the history is docs/state-history.md).
IInstanceContentLoader
Content of an instance part that finishes loading after InstanceScenes.Prepare returns: geometry a component builds over several frames, or assets it loads asynchronously.