Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® Softimage® / Animation / Scene attached with solution for locking ori on a single axis on 2 bone chain
  RSS 2.0 ATOM  

Scene attached with solution for locking ori on a single axis on 2 bone chain
Rate this thread
 
29213
 
Permlink of this thread  
avatar
  • Total Posts: 62
  • Joined: 25 February 2008 10:24 AM

On XSIBASE, a user wanted to know how to achieve this:

[I]"For example, when the chain is drawn in front-view, root at 0,0,0, start second bone at 2,2,0, effector at 0,4,0, I would like to have the first bone NOT come off the Z-equals-Zero-plane, even when the effector is yanked from this plane.[/I]

[I]On Rotation-Order The help-file states, in Preventing Gimbal Lock: If an object is rotating on two axes, change the order of axes to correspond with the first and last axes; that is, if the object is rotating around the X and Y axes, change the order of axes to XZY.[/I]

[I]This brought me to the conclusion that the first bone needs Z-rotation first and then X-rotation only, so I’ve set the first bones’ rotation order to ZYX and limited the Y-axis to 0 degrees of freedom. To no avail : the first bone happily rotates about it’s Y-axis.[/I]
[I]Limiting all rotation on Z and Y gives me the desired effect on the X-axis, any liberty on the Z-axis brings it out of it’s desired arc."[/I]

So I tried and came up with this solution (attached zipped scene).
Load and hit play.
I prefer posting here cause you can attach simple scenes :)
Ciao.



Attachment Attachment
Replies: 0