Git Product home page Git Product logo

Comments (3)

HatsuneKid avatar HatsuneKid commented on June 12, 2024

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.

from fs22_interactivecontrol.

HatsuneKid avatar HatsuneKid commented on June 12, 2024

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>

`

from fs22_interactivecontrol.

HatsuneKid avatar HatsuneKid commented on June 12, 2024

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.

from fs22_interactivecontrol.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.