Results 1 to 3 of 3

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.

Posting Permissions

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