{"id":5007,"date":"2019-04-13T17:22:50","date_gmt":"2019-04-13T17:22:50","guid":{"rendered":"http:\/\/avastar.guru\/?page_id=5007"},"modified":"2019-04-13T17:22:50","modified_gmt":"2019-04-13T17:22:50","slug":"reset-animation-and-lsl","status":"publish","type":"page","link":"https:\/\/avalab.org\/avastar\/279\/fragment\/reset-animation-and-lsl\/","title":{"rendered":"Reset Animation and LSL"},"content":{"rendered":"<h4>Use a restpose Animation (optional and additional)<\/h4>\n<p>When you enable &#8220;use Bind Pose&#8221; then it often also makes sense to apply a reset animation which enforces the Bones to be placed at their exact anticipated restpose locations. However this reset animation must run constantly as a low priority animation (priority 0) to make sure the bones always find their way back to their optimal location after any other animation has terminated.<\/p>\n<p>Avastar is capable to create the Reset Animation and provide a ready made LSL script that you can add directly into your SL Rigged mesh:<\/p>\n<h4>Generate the Reset Animation and a Reset LSL script<\/h4>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p>When you export to Collada, open the Advanced section and enable <em>with Reset Animation<\/em> and <em>with Reset Script:<\/em><\/p>\n<\/div>\n<div class=\"rhcol span5\">\n<p><a href=\"https:\/\/avalab.org\/avastar\/279\/wp-content\/uploads\/2018\/12\/Image728.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-4711 alignleft\" src=\"https:\/\/avalab.org\/avastar\/279\/wp-content\/uploads\/2018\/12\/Image728.png\" alt=\"\" width=\"260\" height=\"318\" srcset=\"https:\/\/avalab.org\/avastar\/279\/wp-content\/uploads\/2018\/12\/Image728.png 260w, https:\/\/avalab.org\/avastar\/279\/wp-content\/uploads\/2018\/12\/Image728-245x300.png 245w\" sizes=\"auto, (max-width: 260px) 100vw, 260px\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<p>You will use a restpose Animation when the Bone optimizer could not place the bones correctly. This may happen when you used a custom Shape while creating your edited rig in Avastar. In that case it may be possible that SL places the bones to slightly wrong locations which can be corrected by using the Reset Animation.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Use a restpose Animation (optional and additional) When you enable &#8220;use Bind Pose&#8221; then it often also makes sense to apply a reset animation which enforces the Bones to be placed at their exact anticipated restpose locations. However this reset animation must run constantly as a low priority animation (priority 0) to make sure the [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":4711,"parent":281,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[2],"tags":[],"class_list":["post-5007","page","type-page","status-publish","has-post-thumbnail","hentry","category-fragment"],"_links":{"self":[{"href":"https:\/\/avalab.org\/avastar\/279\/wp-json\/wp\/v2\/pages\/5007","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/avalab.org\/avastar\/279\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/avalab.org\/avastar\/279\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/avalab.org\/avastar\/279\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/avalab.org\/avastar\/279\/wp-json\/wp\/v2\/comments?post=5007"}],"version-history":[{"count":0,"href":"https:\/\/avalab.org\/avastar\/279\/wp-json\/wp\/v2\/pages\/5007\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/avalab.org\/avastar\/279\/wp-json\/wp\/v2\/pages\/281"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/avalab.org\/avastar\/279\/wp-json\/wp\/v2\/media\/4711"}],"wp:attachment":[{"href":"https:\/\/avalab.org\/avastar\/279\/wp-json\/wp\/v2\/media?parent=5007"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/avalab.org\/avastar\/279\/wp-json\/wp\/v2\/categories?post=5007"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/avalab.org\/avastar\/279\/wp-json\/wp\/v2\/tags?post=5007"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}