Notifications
Clear all
[Closed] Assigning path and object nodes in path_constraint
Jun 16, 2005 3:45 am
I’m a little confused over the documentation for assigning path_constraint controllers to objects. So far I’ve worked out that:
pathConst = Path_Constraint() -- create a constraint
pathInterface = pathConst.constraints -- get it's interface
pathInterface.appendTarget $Circle01 50.0 -- add a target path? (not sure)
pathConst.percent = 50.0 -- assign percentage along a path
This is all fine and dandy (ie. it RUNS). But I cannot really figure out the actual assignment of the controller to the object.
2 Replies
2 Replies
hi,
it should be something like (i don’t have max available at the moment, so i didn’t test this):
obj.pos.controller = pathConst – where obj is the parameter holding the object
hOpe this helps,
o