Aim
v1.3.0Modifiers
Summary
The Aim orients instances towards a particular position in space, towards an object's position, or towards individual positions per-instance. Instances will have their aim axis aligned to point directly at the target position, with rotation controlled by a specified up vector or up position.
You can define aim targets using three methods: Aim Vector, Aim at Object, or Aim at Positions. Similarly, the up direction can be defined using Up Vector, Up at Object, or Up at Positions. Optional falloff-based attenuation enables spatially varying aim effects.
Parameters
Group
GroupIf there are input groups, specifying a group name in this field will cause this POPX to act only upon the group specified.
Do Falloff
DofalloffEnables falloff-based aim intensity control.
Falloff Attribute
FalloffattrSpecifies which attribute to use for falloff values that attenuate aim rotation strength.
Aim Method
AimmethodDetermines how aim targets are specified: Aim Vector, Aim at Object, or Aim at Positions.
Aim Vector
vectorAim at ObjectobjectAim at PointspointsAim Vector
AimvectorDirection vector for aim orientation when Aim Method is set to Aim Vector.
Aim Vector
AimvectorxAim VectorAimvectoryAim VectorAimvectorzAim Position
AimpositionTarget position for aim orientation when Aim Method is set to Aim at Object.
Aim Position
AimpositionxAim PositionAimpositionyAim PositionAimpositionzDisplay Aim Guide
DisplayaimguideVisualizes aim target positions in the viewport.
Guide Scale
AimguidescaleControls the display size of aim guide visualization.
Color
AimcolorColor of the aim guide visualization.
Color
AimcolorrColorAimcolorgColorAimcolorbUp Method
UpmethodDetermines how up direction is specified: Up Vector, Up at Object, or Up at Positions.
Up Vector
vectorUp at ObjectobjectUp at PointspointsUp Vector
UpvectorDirection vector for up orientation when Up Method is set to Up Vector.
Up Vector
UpvectorxUp VectorUpvectoryUp VectorUpvectorzUp Position
UppositionTarget position for up orientation when Up Method is set to Up at Object.
Up Position
UppositionxUp PositionUppositionyUp PositionUppositionzDisplay Up Guide
DisplayupguideVisualizes up target positions in the viewport.
Guide Scale
UpguidescaleControls the display size of up guide visualization.
Color
UpcolorColor of the up guide visualization.
Color
UpcolorrColorUpcolorgColorUpcolorbAim Axis
AimaxisSpecifies which local axis should be used as the aim direction.
X
xYyZzUp Axis
UpaxisSpecifies which local axis should be used as the up direction.
X
xYyZzInvert Aim
InvertaimReverses the aim direction by 180 degrees.
Invert Up
InvertupReverses the up direction by 180 degrees.
Constrain Around Up
ConstrainaroundupLimits rotation to occur only around the up axis, preventing roll.
Bypass
BypassPass through the first input to the output unchanged.
Free Extra GPU Memory
FreeextragpumemFree memory that has accumulated when output memory has grown and shrunk.
Render Primitives
RenderprimitivesToggles rendering of POPX Geometry or shows it as point instances only.
Convert to Point Primitives
ConverttoptprimConverts points to primitive points when Render Primitives is toggled off.
SRT / RST
SrtrstSets the transform order when using POPX Geometry as built-in TouchDesigner instances.
Inputs
Input 0
POPPOPX/POP Geometry
Input 1
POPAim Target
Input 2
POPUp Target
Outputs
Output 0
POPPOPX_out1