Rigging

Rigging101 » Rigging128

Querying a rotation at given frame? (3 posts)

About This Topic

Tags

No tags yet.

  1. mzahmbie

    offline
    Member
    Posted 7 years ago
    #

    Hi everyone, I'm new to the forums here, but have loved the site and resources/training on it for some time. I come from a 3ds Max rigging background and am fairly new to Maya rigging(and MEL) and was hoping someone might help with a little snag I've hit. I'm looking to drive the rotation of a joint by reading a previous rotation of it's parent. So say on frame 6 I want the joint to take the rotation of it's parent from frame 3.

    The 3ds Max equivalent looks something like this:
    $bone02.rotation.x_rotation = (at time (currentTime-3f) $bone01.rotation.x_rotation)

    Any hint at how to query a nodes transform data at a given frame would be greatly appreciated!

    ~mzahm

  2. thnkr

    offline
    Member
    Posted 7 years ago
    #

    use getAttr -t

  3. mzahmbie

    offline
    Member
    Posted 7 years ago
    #

    Not sure how I missed it, but that's just what I was looking for. Thank you!

Reply

You must log in to post.

Rigging101 » Rigging128
1,099 posts in 307 topics over 110 months by 188 of 8,226 members. Latest: fashionpvp, d2q4p5z2j, gasheldonl