Palette Reference – 09 – Thrower – Part 5 – Targeting

Posted by:

|

On:

|

,

Targeting

There are a many variables involved in targeting that can prove challenging when creating a targeting type throw.

#1-REQUIRED

You have to specify a TARGET:

ThrowerTarget,(off/Object/Avatar)
ThrowerObjectTargetName,HatTarget  —  example
ThrowerAvatarTargetName,Lat Lovenkraft —  example – this can be used by some catching a thrown object

#2-REQUIRED

You MUST set MoveToTarget,on

#3-RECOMMENDED

MoveToTargetTau,1.0 — how fast the Target is approached

#4-RECOMMENDED

AtTargetRange,0.1  — how close the Palette has to be to the target in order to trigger PostRange events.

#5-OPTIONAL

You can set the following on or off.  They determine what happens when the Palette enters the specified range from the target.  When it is within the range.  Less than the range distance from the target.

AttachOnRange,on,6
SetNonPhysAtTarget,on
SetMatchPosAtTarget,on
SetMatchRotAtTarget,on
SetStopSpinAtTargert,on

******************************

Important:  If ThrowerTarget is NOT off then a
thrown palette, when in range of a target, will always:

1 – STOP moving from any MoveToTarget
2 – STOP moving from any ApplyImpulse
3 – STOP turning from any TargetOmega
4 – STOP turning from any AngularVelocity