Questions tagged [constraints]

Constraints are object features, they control in various fashions the object's transform properties such as its position, rotation and scale. Use this tag for questions pertaining to constraints and their usage within Blender.

Filter by
Sorted by
Tagged with
9 votes
1 answer
44k views

How to IK rig legs

I have a simple character. I would like rig the legs so that I can easily control them. How can I IK rig my characters leg? .blend file
Vader's user avatar
  • 14.6k
9 votes
2 answers
2k views

How can multiple Curves be used to control Camera movement?

I currently use a Track to Constraint to make the camera automatically point to an empty. In an animation the camera is moved along a bezier curve (follow path). How could I change the curve and ...
stacker's user avatar
  • 38.3k
7 votes
6 answers
7k views

Changing ChildOf constraint influence to 0, but keeping the position it had as a child

I had a sword object rigged with a single bone, with a ChildOf constraint making it a child of a sheath (with an influence of 1). Throughout an animation i move the sheath, and the sword bone follows ...
John's user avatar
  • 71
21 votes
3 answers
24k views

Is there a way to convert a constraint to a keyframe?

I have a model in Blender with a full rig, including IK bones. I also have a sword with two bones, on the top bone of the sword I have a set of constraints that copy the location and rotation of a ...
Goff's user avatar
  • 313
5 votes
2 answers
2k views

How to rig a truck/trailer so that the trailer follows the truck

I am trying to rig a truck with a trailer so it can be animated along a path/curve. Having the trailer follow is not a problem, but in order to look realistic it shouldn't follow the exact path of the ...
ducks's user avatar
  • 71
11 votes
1 answer
7k views

How can we animate a ball rolling over a path?

So I have an complex smooth surface. I created a high resolution path curve and used a Shrink Wrap modifier to make it fit on my surface where I want it. I apply the shrink wrap. I can easily make ...
Chuck's user avatar
  • 1,090
10 votes
3 answers
2k views

Rigging an umbrella-like object

I'm trying to figure out the best way to rig this setup. I have several pipes arranged vertically, right next to each other. I want a rig where I can use a single controller to have them spread out at ...
Ascalon's user avatar
  • 6,469
7 votes
1 answer
4k views

How to get the physics engine to wraps a string around the moving part of a motor constraint?

I'm trying to simulate the physics of a string that wraps around a motor spool when the motor turns. The body of the motor and the shaft+spool defines a motor constraint, so a velocity can be applied ...
Cyril_J's user avatar
  • 105
6 votes
3 answers
5k views

How can i edit a follow path constraint with the graph editor?

I made a follow path constrait with a curve, does it already have a linear interpolation so i can edit it on graph editor? i need the linear interpolation.
beavoru's user avatar
  • 5,317
34 votes
1 answer
86k views

Constraint the camera to look at an object

In my scene I have a camera sitting at the origin. I would like to contraint it so that it always looks at the center of a given object. But the camera should not change its position. I found some ...
philipp's user avatar
  • 617
20 votes
3 answers
33k views

How can I make a plane always look at camera? [duplicate]

How can I make a plane always look at camera? Like in old videogames, like Doom or Wolfenstein, this kind of software used static images that always looked at the camera, is this possible to make on ...
beavoru's user avatar
  • 5,317
7 votes
1 answer
4k views

Camera angle should follow path angle

(I'm a blender beginner but know a handful of techniques with other similar programs/systems) I've created a NURBS to make a tracking shot. Creating a follow path object constraint on the camera lets ...
dom0's user avatar
  • 173
3 votes
3 answers
3k views

Precise Mechanical Rigging of two arms connected by a rod

https://youtu.be/86DtgBiUDvI I have done this using the y-rotation of the Blue rod to drive its z-location. The Top rod is driven by the z-location of the Blue rod. As you can see, the animation ...
Log's user avatar
  • 125
3 votes
1 answer
5k views

How can a path animation be used as an action in the game engine?

I animated a rollercoaster using a Bezier Curve and a Follow Path Constraint affecting the vehicle. Then I tried to use the automatically created action in the game engine but the Action Actuator has ...
stacker's user avatar
  • 38.3k
2 votes
1 answer
2k views

Uneven movement on camera following a path.

I render a short movie. I set the camera to the circle curve to make it fly in circle. The problem is after render, the camera is a little shaky. Can anyone help me? Thanks first.
Bill's user avatar
  • 23
5 votes
4 answers
2k views

Why does copy rotation constraint invert after 180 degrees

I'm try to rig a low poly clock for blender, so I added a copy rotation constraint so the minute hand would automatically spin with the second hand, but when I rotate the second hand 180 degrees, the ...
Conner's user avatar
  • 53
0 votes
1 answer
530 views

Animating active object in physics simulation

I would like to pick an object from a conveyer belt.but I find difficulty in animating the active object(rigid body simulation) and assigning 'child of' constraint to the active object which in this ...
Daniel John's user avatar
17 votes
3 answers
17k views

Add object constraint to a number of selected objects

I have a large number of objects, and I wish to add a Track to constraint to each object. When I select the group of them and then add the constraint, it is added to only the active object, of course....
Jason's user avatar
  • 1,623
14 votes
1 answer
2k views

Hook/parent/constrain to particle hair?

Is there any way to hook, parent, or constraint something to a vertex of a particle hair strand? Such as a hair accessory dangling from a braid that needs to move with the hair? Converting the hair ...
Ascalon's user avatar
  • 6,469
5 votes
2 answers
10k views

Set active bone in pose mode from Python script

I'm trying to use the function bpy.ops.pose.constraint_add() on bones through a script, but stupid thing is that I can't find how to set the bones as active ones which is needed to call this function.
Branck's user avatar
  • 53
3 votes
2 answers
7k views

How do I make an object move along a path in either direction?

I'm trying to make a garage door open or close by rolling up or down like they usually do. I know how to make an object follow a path in one direction along a curve using constraints, but I need it to ...
Anthony Forwood's user avatar
3 votes
1 answer
398 views

Billboard to scene camera?

Most of the various tips I've seen on constructing billboards (at least, without the use of the old legacy particle system) involves constraining them to the camera. This works fine for a scene with a ...
Legoman's user avatar
  • 1,771
3 votes
1 answer
3k views

How do I get constraints to work in game engine?

In the game engine, my object needs to point at a target. How can I get it to aim at something that is constantly moving in unpredictable patterns? The constraints actuator does not have a "track to" ...
ruckus's user avatar
  • 7,583
3 votes
2 answers
2k views

Child Of Constraint Set Inverse with Python

When I try to use the "set inverse" operator in python there comes an error that it missed a context called "constraint". But I did it exactly like in the Info Panel. ...
Tristan Salzmann's user avatar
1 vote
2 answers
981 views

How to make constraint permanent once disabled?

I have got a beautiful bone constraint: I would like to be able to enable and disable this constraint without the bone reverting to the original position. By default, the bone appears to return to ...
Joehot200's user avatar
  • 592
0 votes
1 answer
959 views

Offset object duplicated along path

I have a curve and a sphere, and I would like to make 5 copies of that sphere move along the curve. It's possible to duplicate them along the curve by making the sphere a child of the curve and ...
TDN169's user avatar
  • 223
16 votes
1 answer
9k views

Animate the parenting of an object

let's say we have a magazine, a gun, and hands. The magazine is parented with the gun. When I make an animation of reloading, I want the Magazine to be a parent of the hand, then after the magazine ...
Knuckles209cp's user avatar
9 votes
1 answer
9k views

Make Camera System Look at Empty

I have a camera System that is supposed to look at the empty in my scene. It should only move, not rotate. It should rotate in two parts. One, the actual sensor body...
Vader's user avatar
  • 14.6k
8 votes
1 answer
10k views

Pinpoint the area light to object

I've made an object and put an area light on scene. I want that area light points toward the object. I tried to put constraint and PARENT TO OBJECT but that doesn't rotate the light in that specific ...
vejn's user avatar
  • 601
5 votes
1 answer
5k views

Difference between Ctrl P > Follow Path and Add Object Constraint

I am trying to let my camera move along a path. The method to first select the camera, then the path and then use Ctrl P > Follow Path works fine. However, if I select the object, go to Object ...
user1809923's user avatar
4 votes
1 answer
3k views

How can I make an object face or locate to the active camera?

I want the eyes of a character to rotate to look in the direction of a specific point. I have a rig for the eyes of a character and I want the part of the rig that controls the eyes to be at the ...
Marcus Mravik's user avatar
2 votes
1 answer
1k views

How to stop Action Constraint giving different results when code is run in text editor vs python console?

I am currently developing a script that I hope will streamline the approach of adding keyframes to existing actions used by action constraints. I am doing this by allowing the user to move an object ...
Ray Mairlot's user avatar
  • 29.1k
1 vote
1 answer
321 views

How to unattach an object and reattach it somewhere else in an animation?

I made this simple example u can see below to understand the problem. The little cube is attached to the bigger one with a child of constraint. I want the little cube to be able to move with the ...
Swipes's user avatar
  • 181
19 votes
2 answers
2k views

How do I rig a BB-8 robot?

I have made a BB-8 robot from the new Star Wars: The Force Awakens movie, now I want to rig it so the head will stay on top when I move the body. Here is some reference footage of what it looks like ...
David's user avatar
  • 48.9k
7 votes
4 answers
16k views

How to copy constraints from one bone to another?

I've created some shapekeys driven by the bone controllers for my character. Then I gave constraints to the bones on the left side. Now I want to copy and paste them to the right side. Two questions: ...
Paul Gonet's user avatar
  • 33.3k
6 votes
2 answers
8k views

Can IK constraint be setup so it respects constraints of affected bones

I'm trying to rig a robot arm where every bone can rotate only around one axis. It works fine when i position them one by one, but if I put an IK bone to control the whole arm, the limit rotation ...
user1015922's user avatar
4 votes
1 answer
1k views

How to control object's path follow speed based on its position

I am trying to animate a rollercoaster. For now I have a cube following the Bezier path of the track. I need the cube to change its follow speed based on its height. (the higher it is, the slower it ...
Sumeybob's user avatar
4 votes
1 answer
1k views

Object child of two parents

Imagine this scenario. Crane 1 picks up a boulder and puts it into a cart, the cart moves, stops and then the boulder gets picked up by Crane 2. Armature wise everything works. I'm having difficulty ...
Sean Kilburn's user avatar
4 votes
3 answers
244 views

Non-wrapping rigid body rotations?

The simulated transformations of a rigid body can be read out through .matrix_local, .matrix_world, and animation drivers set to ...
Will Chen's user avatar
  • 1,577
3 votes
1 answer
12k views

How do I bake a bone animation that has a constraint?

I have a BVH where the leg has a wobble in the x rotation so I added a limit rotation constraint to remove the wobble. How do I convert the bone's pose with the constraint to just keyframes of its ...
Eric Huelin's user avatar
  • 2,233
3 votes
3 answers
574 views

Is it possible to track an animated object within Geometry Nodes with a camera?

Is there a chance to track an object/instance generated inside Geometry Nodes with a camera? Can I provide the coordinates of an animated Object per attribute to an Object Constraint? This is a small ...
Grisalho S.K.'s user avatar
3 votes
1 answer
2k views

Setting constraints causes the location of the constrained objects/bodies not be accessible

I set up 2 bodies manually & assigned Copy Location constraint to one with respect to another body. Then I set up the keyframe for the guiding body & then I started to view the change in the ...
Abhinav Chaudhary's user avatar
3 votes
1 answer
1k views

Copy Rotation Bone Constraint not Smooth

I am struggling to get the CopyRotation bone constraint to work as I expect. Hoping someone can clear up where my confusion is. I have simplified my issue to this three bone setup: Bone C is the ...
Zach's user avatar
  • 133
3 votes
2 answers
2k views

How to create an empty per object in selection?

How can I create an empty / null / locator object using python? I'd like to create one for each selected object and then all empties should be parented or constraint to the selected objects, meaning ...
NoobProgrammerxPython's user avatar
2 votes
1 answer
399 views

Animating a rolling square wheel effect

I basically want the effect shown in the linked gif, like a cube that roles on the floor and doesn't clip the surface as it moves forward, like a rotating square wheel I can do the automatic rotation ...
Tritofic's user avatar
  • 375
2 votes
1 answer
129 views

Setup Constraints for modular conveyor

I'm trying to create a modular conveyor which I can animate. I've got a mesh for each section of the modular belt and a Bezier curve I would like them to follow. How can I setup the constraints so ...
MrQuery's user avatar
  • 27
2 votes
1 answer
899 views

Character holding an object

I'm trying to get a character (robot) to catch a vinyl record. I have both objected linked into a blend file. I tried to use a Child of constraint on the vinyl record and parent it to the thumb bone ...
Eternity Tomorrow's user avatar
2 votes
1 answer
4k views

Can I get an IK constraint w/ stretch to only scale bones on their Y axes?

I have a short IK chain with an IK constraint with stretch enabled. The bones in the chain each have their Inverse Kinematics Stretch set to 0.001. Here's a simple demo setup... Moving the Control ...
Chuck's user avatar
  • 1,090
1 vote
1 answer
4k views

How to lock elbow rotation (forward kinematics)

Before answering this question please consider that an 'answer' involving IK bone constraints should go in comments. In this question I am only interested in forward kinematics. Many humanoid models ...
user avatar
1 vote
2 answers
2k views

Is there a way to create "snap to surface" constraint?

https://i.imgur.com/K8rOWnm.mp4 Here's a visual example of what I want to make (I did it by using "snap during transform" on "face" mode) basically I want to create a camera that's always offset X ...
Alumx's user avatar
  • 409