m ProbablePrime moved page VirtualParent (Component) to Component:VirtualParent: Creating component Namespace |
Automated: update Fields, Categories |
||
Line 12: | Line 12: | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|OverrideParent|Slot|If not null, the slot that the object gets reparented to | |OverrideParent|Slot|If not null, the slot that the object gets reparented to | ||
|_targetPos| | |_targetPos|{{RootFieldType|FieldDrive`1|[[Type:Float3|Float3]]}}|TypeAdv1=true|Position to be driven by parent's position. | ||
|_targetRot| | |_targetRot|{{RootFieldType|FieldDrive`1|[[Type:FloatQ|FloatQ]]}}|TypeAdv2=true|Rotation to be driven by parent's rotation. | ||
|_targetScl| | |_targetScl|{{RootFieldType|FieldDrive`1|[[Type:Float3|Float3]]}}|TypeAdv3=true|Scale to be driven by parent's scale. | ||
|LocalPosition|Float3|Object's position relative to parent. | |LocalPosition|Float3|Object's position relative to parent. | ||
|LocalRotation| | |LocalRotation|FloatQ|Object's rotation relative to parent. | ||
|LocalScale|Float3|Object's scale relative to parent. | |LocalScale|Float3|Object's scale relative to parent. | ||
}} | }} | ||
Line 30: | Line 30: | ||
</translate> | </translate> | ||
[[Category:ComponentStubs]] | [[Category:ComponentStubs]] | ||
[[Category:Components{{#translation:}}| | [[Category:Components{{#translation:}}|Virtual Parent]] | ||
[[Category:Components:Transform:Drivers{{#translation:}}| | [[Category:Components:Transform:Drivers{{#translation:}}|Virtual Parent]] |
Revision as of 21:26, 3 March 2024
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image
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. |
OverrideParent
|
Slot | If not null, the slot that the object gets reparented to |
_targetPos
|
field drive of Float3 | Position to be driven by parent's position. |
_targetRot
|
field drive of FloatQ | Rotation to be driven by parent's rotation. |
_targetScl
|
field drive of Float3 | Scale to be driven by parent's scale. |
LocalPosition
|
Float3 | Object's position relative to parent. |
LocalRotation
|
FloatQ | Object's rotation relative to parent. |
LocalScale
|
Float3 | Object's scale relative to parent. |