Component:RepulsionTreeSimulator

From Resonite Wiki
Revision as of 22:50, 21 October 2024 by 989onan (talk | contribs) (add info)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Component image 
Repulsion Tree Simulator component as seen in the Scene Inspector


This article or section is a Stub. You can help the Resonite Wiki by expanding it.


The RepulsionTreeSimulator can be used alongside the RepulsionTreeItem component on it's children slots to create a repulsion tree simulation. A repulsion tree is a simulation that keeps a bunch of RepulsionTreeItems on the outside shell of a sphere. The different slots of the tree will move around as they push or pull each other in real time.

This does lots of writes to every slot under it, this is experimental and users should not use it in a populated session due to the amount of network traffic it generates.

Usage

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled.
FalloffPower Float how quickly the force power diminishes by distance.
Radius Float The radius of this repulsion tree's sphere.
Force Float how much to multiply the forces of the children objects.

Behavior

Examples

See Also

RepulsionTreeItem