Open HatsuneKid opened 1 year ago
After I added displayType="ROT", it worked. But on activate and deactivate can only cause the paddle to rotate in the same direction, it wasn't the exercise mode I wanted.
Problem solved! `
<interactiveControl posText="$l10n_actionIC_liftSupportArm" negText="$l10n_actionIC_lowerSupportArm" >
<clickPoint node="0>0|13|0|3|3" size="0.1" type="OUTDOOR" iconType="SUPPORTARM" alignToCamera="false"/>
<animation name="folding4" speedScale="1.0" initTime="0.0" />
<dependingMovingTool isInactive="false" node="supportArm"/>
<dashboard displayType="ROT" raiseTime="0.1" activeTime="1" maxRot="-20" minRot="0" onICActivate="true" onICDeactivate="false" node="0>0|13|0|3|0" rotAxis="3" valueType="ic_action">
</dashboard>
<dashboard displayType="ROT" raiseTime="0.1" activeTime="1" maxRot="20" minRot="0" onICActivate="false" onICDeactivate="true" node="0>0|13|0|3|0" rotAxis="3" valueType="ic_action">
</dashboard>
</interactiveControl>
`
Problem solved! `
<interactiveControl posText="$l10n_actionIC_liftSupportArm" negText="$l10n_actionIC_lowerSupportArm" > <clickPoint node="0>0|13|0|3|3" size="0.1" type="OUTDOOR" iconType="SUPPORTARM" alignToCamera="false"/> <animation name="folding4" speedScale="1.0" initTime="0.0" /> <dependingMovingTool isInactive="false" node="supportArm"/> <dashboard displayType="ROT" raiseTime="0.1" activeTime="1" maxRot="-20" minRot="0" onICActivate="true" onICDeactivate="false" node="0>0|13|0|3|0" rotAxis="3" valueType="ic_action"> </dashboard> <dashboard displayType="ROT" raiseTime="0.1" activeTime="1" maxRot="20" minRot="0" onICActivate="false" onICDeactivate="true" node="0>0|13|0|3|0" rotAxis="3" valueType="ic_action"> </dashboard> </interactiveControl>
`
oh no! Animation "folding4" lasts for 6 seconds in this case. So the value of activeTime should also be 6. This will cause once I deactivate the IC midway through activation, the animation of the paddle reverse will still take 6 seconds to complete instead of 3 seconds.
Node "0>0|13|0|3|0" is a functional paddle. `
` How to make node"0>0|13|0|3|0" perform the same rotation action using ic? This doesn't work.
`
`