View Full Version : Ik via MXS...help...
Polimeno 08-20-2008, 03:03 PM 1 - how can i create an Ik chain via mxs and get acsses to each propertie ?
starjoint
endjoint
name
interations
goal display size
swivel angle
2- and before that,
how can i do a start mousetool to grab an object to be the swivel angle target ?
my idea is to select a chain (arm rig, for example) evalute and at the end get a rubberband selection for swivel angle (like constraints).
thanks and waiting for help.
=)
|
|
IkerCLoN
08-21-2008, 11:00 AM
IK solvers have a 'IKChainControl' controller. You are able to access to its properties (like swivel angle, start joint and so on...) using 'mySolver.controller.property'. Just look for 'IKChainControl' in the MAXScript help to see all the available properties for this thing ;)
Polimeno
08-21-2008, 08:36 PM
using 'mySolver.controller.property'
donīt got it....
didnīt understand from the help either....
can you give a line of example, please ??
From Help:
IKChainControl : Matrix3Controller {78724378,8a4fd9}
Constructor
Class instances not creatable by MAXScript
Properties
.swivelAngle (Swivel_Angle) : angle
.startJoint (Start_Joint) : node
.endJoint (End_Joint) : node
.ikSolver (IK_Solver) : string
.dispGoal (Display_Goal) : boolean
.goalSize (Goal_Display_Size) : world units
*--------------
oO?
labbejason
08-21-2008, 08:42 PM
On an IK solver, access the properties like so: $'IK Chain01'.controller.swivelAngle
Boom.
Actually looking at the post, Iker explained it pretty good.
CGTalk Moderation
08-21-2008, 08:42 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.