Results 1 to 6 of 6

Thread: SetPoseParameter does not work?

  1. #1

    SetPoseParameter does not work?

    i've created a model with a pose parameter named "move_angle" that ranges from -180 to 180. it is used to control a vscript-created gesture for movement that is composed of nine sequences, each at 45 degree angles (starting at south, clockwise towards north, then back down clockwise to south).

    i set the pose parameter value with
    Code:
    unit:SetPoseParameter( "move_angle", deltaAngle )
    , then i start the gesture in question with StartGesture. however, although the animation will play, it will not be modified from its default state (0, directly north). am i doing this wrong, or does SetPoseParameter not work?

    i'm pretty sure it's correct, as modifying the pose parameter value in the model editor slider works just fine
    Last edited by fabulosity; 06-18-2017 at 01:14 AM.

  2. #2
    maybe it's not really supported by lua, considering there isn't even a GetPoseParameter function to work alongside with.

  3. #3
    while we're at it, EmitSoundParams doesn't seem to work either.

  4. #4
    let's add SetBodygroupByName to the list

  5. #5
    Basic Member Toadcop's Avatar
    Join Date
    Sep 2011
    Posts
    8
    yes please fix this, cause it's crucial for more advanced animations. in case it's working properly, provide example howto use it.

  6. #6
    Basic Member
    Join Date
    Aug 2013
    Posts
    5
    Any changes? Really want to use PoseParameters instead of parented entities

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •