meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
force_object [2023/07/20 12:15] – steph.jorgensen | force_object [2023/11/15 10:24] (current) – steph.jorgensen | ||
---|---|---|---|
Line 2: | Line 2: | ||
The properties on force objects control how [[kcforces|forces]] affect the model and the scene. | The properties on force objects control how [[kcforces|forces]] affect the model and the scene. | ||
- | > | + | > |
=====Force===== | =====Force===== | ||
The properties in this group set the basic functionality of force objects. | The properties in this group set the basic functionality of force objects. | ||
- | ==Enabled== | + | ====Enabled==== |
Use this property to toggle the force' | Use this property to toggle the force' | ||
- | ==Type== | + | ====Type==== |
Sets the type of [[kcforces# | Sets the type of [[kcforces# | ||
- | ==Strength== | + | ====Strength==== |
This value controls how much the force influences the model. | This value controls how much the force influences the model. | ||
- | ==Color== | + | ====Align strength==== |
+ | Controls how much the force acts on the initial orientation of the nodes it affects. Each generator has an alignment scalar that combines with **Align strength** to control the alignment behavior. | ||
+ | |||
+ | ====Color==== | ||
Sets the color of the force indicator in the [[tooltree_window|Tree Window]]. | Sets the color of the force indicator in the [[tooltree_window|Tree Window]]. | ||
- | ==Indicator | + | ====Indicator |
Sets the size of the icon used to represent the force in the [[tooltree_window|Tree Window]]. | Sets the size of the icon used to represent the force in the [[tooltree_window|Tree Window]]. | ||
- | ==Normals projection== | + | ====Normals projection==== |
Set whether the force object can influence [[lighting-leaves-and-fronds|global lighting]]. This property is available only when **Type** is set to **Geometry**. | Set whether the force object can influence [[lighting-leaves-and-fronds|global lighting]]. This property is available only when **Type** is set to **Geometry**. | ||
^ **Property** ^ **Description** ^ | ^ **Property** ^ **Description** ^ | ||
- | | Disabled | The force object can’t influence global lighting. | | + | | **Disabled** | The force object can’t influence global lighting. | |
- | | Enabled (used by global lighting) | The force object can influence the global lighting of any leaf or frond generators it encapsulates. To adjust lighting relative to this force object, see the **Projectors** property in the [[light# | + | | **Enabled (used by global lighting)** | The force object can influence the global lighting of any leaf or frond generators it encapsulates. To adjust lighting relative to this force object, see the **Projectors** property in the [[light# |
- | =====Mesh===== | ||
- | These properties control the behavior of [[geometry_forces|geometry forces]]. | ||
- | ==Include in Model== | ||
- | Enable this property to have the mesh exported as part of the model. | ||
- | ==Mesh== | + | =====Geometry===== |
- | Specifies a named [[kcmeshes|mesh asset]]. | + | These properties control the behavior of [[geometry_forces|geometry forces]]. Set the **Type** property above to **Geometry** to make a force act as a force mesh. |
- | ==Force action== | + | ====Source==== |
- | Specifies how the mesh surface should influence branch spines from the following options: | + | Choose whether |
- | ^ Avoid | Spines are repelled by the closest spot on the surface of the mesh. | | + | ====Mesh Asset==== |
- | ^ Attract | Spines | + | These properties |
- | ^ None | No action | + | |
- | ==Collide Action== | + | ===Mesh=== |
- | Specifies | + | Specifies a named [[kcmeshes|mesh asset]]. |
- | ^ None | No action is taken (spines will go through | + | ===Include in model=== |
- | ^ Obstruct | Spines are blocked by the surface | + | Enable this property to have the mesh exported as part of the model. |
- | ^ Prune | Spines are broken when they collide with the mesh. | | + | |
- | ^ Stop | Spines are considered fully grown where they hit the mesh. They will be shorter than intended | + | |
- | ==Keep Action== | + | ===Ambient occluder=== |
- | Specifies what happens to spines that are using this mesh from the following options: | + | When the mesh is not being included in the model, check this property to allow the mesh to contribute to [[kclighting# |
- | ^ All | All nodes will be kept regardless of whether they collide with the mesh or not. | | + | ===Display color=== |
- | ^ Hits | Only nodes that collide with this mesh will be kept (if this force is enabled on the generator). All others will be destroyed. | | + | Specifies what color is used to render |
- | ^ Misses | Only nodes that do not collide with this mesh force will be kept (if this force is enabled on the generator). All others will be destroyed. | | + | |
- | ==Obstruction Distance== | + | ===Material=== |
- | Sets the distance from the base of each spine node where obstruction by the Mesh force is prohibited. It is sometimes desirable | + | Assign a material |
- | ==Max Iterations== | + | ===Level of Detail=== |
- | When a mesh collision is detected, this property determines how many attempts are made to continue on without going through | + | Specifies which mesh LOD, if available, is used for the current LOD state. |
- | ==Max Angle== | + | > |
- | Specifies the maximum amount a spine can bend to try to get around | + | |
- | ==Give up Action== | + | ===Lightmap scale=== |
- | Once all of the iterations have failed for a spine that has collided with the mesh, this property specifies what action to take from the following options: | + | Controls |
- | ^ None | No action is taken, the spine goes through | + | =====Behavior===== |
- | ^ Prune | Spines that cannot escape will be pruned at the collision point. | | + | Specifies how the mesh surface should influence branch spines. |
- | ^ Destroy | The spine will be removed. | | + | |
- | ==Ambient Occluder== | + | ====Actions==== |
- | When the mesh is not being included in the model, check this property to allow the mesh to contribute to [[kclighting# | + | Specifies what happens when a branch spine collides with the mesh surface. |
- | ==Level of Detail== | + | ====Name==== |
- | Specifies which mesh LOD, if available, is used for the current LOD state. | + | The name of the action. |
- | > | + | ====Force==== |
- | ====Material==== | + | ^**Property**^**Description**^ |
- | The properties in this group control | + | |**Avoid**| Spines are repelled by the closest spot on the surface |
+ | |**Attract**| Spines are pulled towards the closest spot on the surface of the mesh. | | ||
+ | |**None**| No action is applied to the spines. | | ||
- | ==Material== | + | ====Collide==== |
- | Specifies a named material from the [[toolmeshesbar|Mesh Asset Bar]]. | + | Once all of the iterations have failed for a spine that has collided with the mesh, this property specifies what action to take. |
- | + | ||
- | ==Color== | + | |
- | Specifies what color is used to render | + | |
- | + | ||
- | ===Lightmap=== | + | |
- | Controls | + | |
- | ==Scale== | + | ^**Property**^**Description**^ |
- | Use this value to take up more or less space in the lightmap. | + | |**None**| No action is taken (spines will go through the mesh). | |
+ | |**Obstruct** | Spines are blocked by the surface of the mesh and “crawl” over it, attempting | ||
+ | |**Prune**| Spines are broken when they collide with the mesh. | | ||
+ | |**Stop**| Spines are considered fully grown where they hit the mesh. They will be shorter than intended but all of the profile curves will cover the full length of the spine. | | ||
=====Attenuation===== | =====Attenuation===== | ||
Causes the force' | Causes the force' | ||
- | ==Type== | + | ====Type==== |
Specifies the type of attenuation from the following options: | Specifies the type of attenuation from the following options: | ||
Line 110: | Line 102: | ||
^ Hard | The force effect goes to zero outside the distance specified below. | | ^ Hard | The force effect goes to zero outside the distance specified below. | | ||
- | ==Distance== | + | ====Distance==== |
This value sets distance around the force where attenuation is applied. | This value sets distance around the force where attenuation is applied. | ||
- | ==Falloff | + | ====Falloff |
Sets the distance from the edge of the attenuation towards the force location at which attenuation begins. | Sets the distance from the edge of the attenuation towards the force location at which attenuation begins. | ||
- | ==Indicator== | + | ====Container |
- | Selects when the attenuation indicator is displayed from the following options: | + | |
- | + | ||
- | ^ Selected | Only display the indicator when the force is selected. | | + | |
- | ^ Always | Always show the indicator. | | + | |
- | ^ Never | Never display the attenuation indicator. | | + | |
- | + | ||
- | ====Container | + | |
The properties in this group allow you to specify mesh forces to be used to designate the area of effect for this force. | The properties in this group allow you to specify mesh forces to be used to designate the area of effect for this force. | ||
- | ==Include== | + | ===Include=== |
Type the name of a Mesh force in this property. That mesh will be used to indicate the only region where this force is applied. | Type the name of a Mesh force in this property. That mesh will be used to indicate the only region where this force is applied. | ||
- | ==Exclude== | + | ===Exclude=== |
Type the name of a Mesh force in this property. That mesh will be used to indicate the region where this force will not be applied. | Type the name of a Mesh force in this property. That mesh will be used to indicate the region where this force will not be applied. | ||
+ | |||
+ | ====Indicator==== | ||
+ | Selects when the attenuation indicator is displayed. | ||
+ | |||
+ | ^**Property**^**Description**^ | ||
+ | |**Selected**| Only display the indicator when the force is selected. | | ||
+ | |**Always**| Always show the indicator. | | ||
+ | |**Never**| Never display the attenuation indicator. | | ||
=====Animation===== | =====Animation===== | ||
Line 137: | Line 130: | ||
> | > | ||
- | ==Start Frame== | + | ====Start Frame==== |
Specifies the frame at which the animation starts. | Specifies the frame at which the animation starts. | ||
- | ==Duration== | + | ====Duration==== |
Sets how many frames the animation lasts. | Sets how many frames the animation lasts. | ||
- | ==Profile== | + | ====Profile==== |
Controls the animation, as follows: | Controls the animation, as follows: | ||
Line 149: | Line 142: | ||
When using animated growth, controls the strength of the force over the life cycle of the growth animation. | When using animated growth, controls the strength of the force over the life cycle of the growth animation. | ||
- | ==Lifetime %== | + | ===Lifetime %=== |
Controls the strength of the force over the duration of the growth animation. | Controls the strength of the force over the duration of the growth animation. | ||
Line 157: | Line 150: | ||
====Translation==== | ====Translation==== | ||
- | ==X, Y, Z== | + | ===X, Y, Z=== |
Sets the position of the force object. | Sets the position of the force object. | ||
- | ==Reset translation== | + | ===Reset translation=== |
Positions the force at the origin. | Positions the force at the origin. | ||
====Rotation==== | ====Rotation==== | ||
- | ==Axis X, Axis Y, Axis Z== | + | ===Axis X, Axis Y, Axis Z=== |
Specifies the vector around which the force is rotated. | Specifies the vector around which the force is rotated. | ||
- | ==Angle== | + | ===Angle=== |
Specifies how much the force is rotated around the axis. | Specifies how much the force is rotated around the axis. | ||
- | ==Reset rotation== | + | ===Reset rotation=== |
Resets the rotation back to the default settings. | Resets the rotation back to the default settings. | ||
====Scale==== | ====Scale==== | ||
- | ==X, Y, Z== | + | ===X, Y, Z=== |
Sets the scale of the force object on each axis. | Sets the scale of the force object on each axis. | ||
- | ==Uniform== | + | ===Uniform=== |
When checked, the X, Y, and Z scales are set to the same value as to not distort the shape. | When checked, the X, Y, and Z scales are set to the same value as to not distort the shape. | ||
- | ==Reset Scaling== | + | ===Reset Scaling=== |
Sets the scale values back to 1.0. | Sets the scale values back to 1.0. | ||
- |