AnyPortrait > Forum > How to Use

[Archive] Controlling the strength of physics modifiers via script

  • This topic has 0 replies, 1 voice, and was last updated 1 week ago by Archive AccountArchive Account.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #1289
    Archive AccountArchive Account

      Q.

      Is it possible to control the value of a modifier with a script?
      I want to control the strength of a Physics modifier in-game.

       

      A.

      The strength of the Physics modifier is a fixed value and cannot currently be adjusted in-game.
      However, there are functions to enable or disable physics effects.
      You can enable or disable the Physics modifier using the “SetPhysicEnabled(bool isPhysicEnabled)” function of apPortrait.

      For “Jiggle Bone” which provides a physical effect, you can adjust the intensity with the control parameter.
      https://rainyrizzle.github.io/en/AdvancedManual/AD_JiggleBone.html

       

    Viewing 1 post (of 1 total)
    • You must be logged in to reply to this topic.
    Scroll to Top