{"id":3522,"date":"2021-02-25T14:50:48","date_gmt":"2021-02-25T21:50:48","guid":{"rendered":"http:\/\/artistedancediva.co.uk\/wp\/?p=3522"},"modified":"2021-02-25T14:50:48","modified_gmt":"2021-02-25T21:50:48","slug":"palette-reference-31-thrower-part-27-target-based-throwing-thrower-notecard","status":"publish","type":"post","link":"https:\/\/artistedancediva.co.uk\/wp\/?p=3522","title":{"rendered":"Palette Reference \u2013 31 \u2013  Thrower &#8211; Part 27 &#8211; Target-Based Throwing &#8211; *thrower notecard"},"content":{"rendered":"<h3>Target-Based Throwing &#8211; *thrower notecard<\/h3>\n<p>&nbsp;<\/p>\n<p>Introducing Target-Based throwing, useful for easier targeting, although the flight-path is\u00a0 not respondent to mass\/gravity like Impulse-based throwing.\u00a0 It is a trade-off.<\/p>\n<p>Below are some workable values to get you started:<\/p>\n<p><strong><span style=\"color: #0000ff;\">*thrower nc<\/span><\/strong><\/p>\n<p><strong><span style=\"color: #ff0000;\">Motion<\/span>: <span style=\"color: #0000ff;\">SetMoveToTarget<\/span>,<\/strong><span style=\"color: #ff00ff;\"><strong>on<\/strong><br \/>\n<strong><span style=\"color: #ff0000;\">Motion<\/span>: <span style=\"color: #0000ff;\">MoveToTargetTau<\/span>,2.0<br \/>\n<span style=\"color: #ff0000;\">Rotation<\/span><\/strong>: <strong><span style=\"color: #0000ff;\">SetTargetOmega<\/span><\/strong>,<strong>on<br \/>\n<span style=\"color: #ff0000;\">Rotation<\/span>: <span style=\"color: #0000ff;\">TargetOmega<\/span>,&lt;1,0,0&gt;,6.283185,2.0<br \/>\n<span style=\"color: #ff0000;\">Termination<\/span>: <span style=\"color: #0000ff;\">RangePostActions<\/span>,on<br \/>\n<span style=\"color: #ff0000;\">Termination<\/span>: <span style=\"color: #0000ff;\">AtRange<\/span>,0.5<br \/>\n<span style=\"color: #ff0000;\">Termination<\/span>: <span style=\"color: #0000ff;\">AttachOnRange<\/span>,off,6<br \/>\n<span style=\"color: #ff0000;\">Termination<\/span>: <span style=\"color: #0000ff;\">SetMatchPosAtTarget<\/span>,off<br \/>\n<span style=\"color: #ff0000;\">Termination<\/span>: <span style=\"color: #0000ff;\">SetMatchRotAtTarget<\/span>,off<br \/>\n<span style=\"color: #ff0000;\">Termination<\/span>: <span style=\"color: #0000ff;\">SetStopSpinAtTarget<\/span>,on<br \/>\n<span style=\"color: #ff0000;\">Termination<\/span>: <span style=\"color: #0000ff;\">SetNonPhysAtTarget<\/span>,on<\/strong><\/span><\/p>\n<p>The <strong><span style=\"color: #0000ff;\">MoveToTargetTau<\/span> <\/strong>affects the speed and can <span style=\"color: #ff0000;\"><span style=\"color: #ff0000;\"><b>NOT BE ZERO<\/b><\/span><span style=\"color: #000000;\"><span style=\"color: #000000;\"> or the process will silently fail.\u00a0 It is more of a damping\/easing-in effect than pure speed.\u00a0 The smaller\u00a0this value, the faster will be the move towards the target.<\/span><\/span><\/span><\/p>\n<p><span style=\"color: #0000ff;\"><strong>SetTargetOmega<\/strong> <\/span>will acknowledge a client-side-based rotation using TargetOmega that is constant and does not decay.\u00a0 This is not good if you need universally seen precisions, but is good for performance.<\/p>\n<p><strong><span style=\"color: #0000ff;\">TargetOmega<\/span> <\/strong>takes 3 values:<\/p>\n<p><strong>1 &#8211; The <span style=\"color: #ff0000;\">axis<\/span>(es) of the rotation<\/strong><br \/>\n<strong>2 &#8211; the <span style=\"color: #ff0000;\">rate<\/span>-of-rotation in radians<\/strong><br \/>\n<strong>3 &#8211; the gain or <span style=\"color: #ff0000;\">multiplier<\/span> of the rate-of-rotation<\/strong><\/p>\n<p><span style=\"color: #0000ff;\"><strong>AtTarget<\/strong> <\/span>specifies the range within which the post-targeting will trigger post actions.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Target-Based Throwing &#8211; *thrower notecard &nbsp; Introducing Target-Based throwing, useful for easier targeting, although the flight-path is\u00a0 not respondent to mass\/gravity like Impulse-based throwing.\u00a0 It is a trade-off. Below are some workable values to get you started: *thrower nc Motion: SetMoveToTarget,on Motion: MoveToTargetTau,2.0 Rotation: SetTargetOmega,on Rotation: TargetOmega,&lt;1,0,0&gt;,6.283185,2.0 Termination: RangePostActions,on Termination: AtRange,0.5 Termination: AttachOnRange,off,6 Termination: SetMatchPosAtTarget,off &hellip; <a href=\"https:\/\/artistedancediva.co.uk\/wp\/?p=3522\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Palette Reference \u2013 31 \u2013  Thrower &#8211; Part 27 &#8211; Target-Based Throwing &#8211; *thrower notecard<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27,4],"tags":[],"_links":{"self":[{"href":"https:\/\/artistedancediva.co.uk\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3522"}],"collection":[{"href":"https:\/\/artistedancediva.co.uk\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/artistedancediva.co.uk\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/artistedancediva.co.uk\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/artistedancediva.co.uk\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3522"}],"version-history":[{"count":8,"href":"https:\/\/artistedancediva.co.uk\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3522\/revisions"}],"predecessor-version":[{"id":3530,"href":"https:\/\/artistedancediva.co.uk\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3522\/revisions\/3530"}],"wp:attachment":[{"href":"https:\/\/artistedancediva.co.uk\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3522"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/artistedancediva.co.uk\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3522"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/artistedancediva.co.uk\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3522"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}