Component:RepulsionTreeSimulator: Difference between revisions

From Resonite Wiki
actually one of the coolest components
add info
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
}}
}}
{{stub}}
{{stub}}
The RepulsionTreeSimulator can be used alongside the [[Component:RepulsionTreeItem|RepulsionTreeItem]] component on it's children slots to create a repulsion tree simulation. A repulsion tree is a simulation that keeps a bunch of [[Component:RepulsionTreeItem|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.


The RepulsionTreeSimulator can be used alongside the [[Component:RepulsionTreeItem|RepulsionTreeItem]] component on it's children slots to create a repulsion tree simulation.
{{Note|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.|danger}}


== Usage ==
== Usage ==
{{Table ComponentFields
{{Table ComponentFields
|FalloffPower|Float|
|FalloffPower|Float| how quickly the force power diminishes by distance.
|Radius|Float|
|Radius|Float| The radius of this repulsion tree's sphere.
|Force|Float|
|Force|Float| how much to multiply the forces of the children objects.
}}
}}


== Behavior ==
== Behavior ==


== Examples ==
== Examples ==


== See Also ==
== See Also ==
[[Component:RepulsionTreeItem|RepulsionTreeItem]]


[[Category:Components:Uncategorized{{#translation:}}|Repulsion Tree Simulator]]
[[Category:Components:Uncategorized{{#translation:}}|Repulsion Tree Simulator]]
[[Category:Components{{#translation:}}|Repulsion Tree Simulator]]
[[Category:Components{{#translation:}}|Repulsion Tree Simulator]]
[[Category:ComponentStubs]]

Latest revision as of 22:50, 21 October 2024

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