Questions tagged [constraints]

Constraints are object features, they control in various fashions the object's transform properties such as its position, rotation and scale.

Filter by
Sorted by
Tagged with
1
vote
1answer
710 views

Adding pole bone to IK ignores IK constraints

I'm trying to rig my character's legs with IK. The way I set it up seems pretty standart, and I see it in many tutorials: I have a foot controller (IK) bone near the foot, which controlls the shin ...
10
votes
1answer
5k 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 ...
7
votes
1answer
34k 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
1
vote
1answer
3k 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 ...
3
votes
2answers
1k 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. ...
0
votes
0answers
585 views

Blender copy rotation constraints bugging out

I am trying to rig a first person set of arms, but the bones in the forearm are acting strange. I made three bones parented to the large forearm bone, they have copy rotation constraints linked to the ...
2
votes
2answers
707 views

Child Of's set inverse without using bpy.ops

I have the following code: ...
1
vote
1answer
593 views

Bone constraints not applied correctly

I have a cube which is not rotated. And I have a bone that I want to add a copy rotation constraints where the target will be ...
1
vote
1answer
303 views

Copy transforms Constraint gives strange scaling and transforms?

I am using a Copy transform Constraint , But when I apply it this happens . I am trying to avoid , of course the mag stretching . BUT I have tried using Only, copy rot and Loc. That miserably fails ...
1
vote
1answer
229 views

Constraining vertices in the Z axis when array, curve and shrinkwrap modifiers applied

I'm creating a road on a 3D landscape. The road's path is defined in the X and Y axes using a bezier. I've created a small section which I'm then applying to the bezier using an array modifier and ...
2
votes
1answer
854 views

How to control a short “animation” with a single bone?

I've never really rigged something before (not counting automatic weights ;). I've made a simple rig of a landing gear, and I'd like to have a single control bone control the whole unfolding sequence....
12
votes
1answer
460 views

Would it be possible to create a new constraint “type” with python?

Obviously it is possible to add new mesh "type" with python in the list of create mesh. I think I read that it isn't possible to create a new "modifier" type with python. What about constraints type (...
3
votes
2answers
579 views

How to lock object face a certain distance away from another object face?

I tried searching for this on google but I came up empty. I want to know how to lock the object 2 5 inches away from the corner of object 1? I want it to stay 5 inches away even if I re-scale. How do ...
5
votes
1answer
4k views

Follow Path constraint moves object away from curve?

I added a follow path constraint the camera. I adjusted the start point of the path and the location of the camera so that they were very near, but once I set follow path constraint to the camera, ...
3
votes
1answer
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" ...
4
votes
2answers
2k views

Bone's constraint limit X axis rotation more than 180° doesn't work

I have a bone that I want the rotation around its own X axis limited to 220°. I have checked "limit X", and set "min" to 0°, and "max" to 220°. Also set "convert" to "Local space". When I rotate the ...
3
votes
1answer
636 views

I am having issues with the pivot constraint

I am making a steam shovel model and trying to do a simple rig with no bones. I threw on a pivot constraint so that I could move the main arm and still have it rotate around an axis. It works great, ...
0
votes
1answer
602 views

Remove Target Object reference from constraint with python

I know how to set a constraint target via Python: ...
3
votes
0answers
261 views

How rely the orientation of an object facing the camera to the side it's looked at?

Use case / goal See the images below. The green plane is attached to a target, the grey sphere, and is facing the camera, but its orientation change depending on witch side of the target the camera ...
2
votes
1answer
636 views

Creating a driver on a constraint with python?

I have the following code and want to add a driver to the rest length of the stretch to constraint (bone constraint), but the console says that the property path is invalid. What am I doing wrong? <...
3
votes
2answers
387 views

Two stage collapse using rigid body physics?

I have long wanted to make a two-part destruction using RBP, namely, an object is struck and breaks into two pieces which fall, hit the ground, and then each break into multiple smaller objects. My ...
3
votes
2answers
1k views

Scripting — Can't figure out how to use correct contexts?

I'm trying to write a script to create some objects along and around a curve object, set up for a generative modeling thing, to make randomized "tentacles" out of paths. Anyways! I'm approaching this ...
3
votes
1answer
4k views

Have location of grouped objects relative to parent object

I am creating a wall section which will be a wall with a hole and in the hole's place a couple of doors and so on. For ease of putting things in place I first create an empty node. Then add a wall ...
1
vote
2answers
4k views

IK rig spins out of control

I'm following a tutorial on youtube about IK rigging. So far I've set up an FK rig and am creating an IK rig. I have put an IK constraint on the left upper arm and the left forearm. But if I try to ...
0
votes
1answer
303 views

How to limit a bone between other two bones, for scale and position

I have this situation: I want the bone "A" to always be between the other two bones, extension included. This bone receives user movement, grab and scale, using any number of extra bones. I ...
5
votes
1answer
4k 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 ...
1
vote
0answers
88 views

Animating along a path with some rotation? [duplicate]

I've got a "flubber" like character model. I'm trying to animate the model along a path and add a playful rotation of the model at certain points along the path. I've successfully animated the ...
1
vote
0answers
178 views

What technique is used to modify one object's mesh in coordination with an adjacent object's mesh?

I would like to make a comparative anatomy primitive that I can use as a sculpting base for various animals. Most quadripeds share the same basic surface anatomy plan with differences in proportion, ...
1
vote
2answers
712 views

Child of Constraint creates strange glitch? [closed]

When I parent the weapon magazine with the hands, they follow , but the magazine rotates! The magazine also goes out of its desired position. How do I fix this? No child. With Child Added.
1
vote
1answer
668 views

Transform Constraint

I have 3 animated cubes, two of which, Cube 1 and Cube 2, start stacked on top of each other and off to the negative X of the other one, Cube 3. Cube 1 moves forward along the X axis. Cube 2 moves ...
3
votes
1answer
1k views

Adding Delay in Constraint

Is it possible to add something like a delay to a constraint (e.g. Transform or Copy Loc / Rot) or to a driver? For example, a driver should copy the rotation of a target which it had 10 frames ago. ...
0
votes
1answer
1k views

For a Third Person game, how would I go about making the character's arm follow the camera?

So I'm making a third person game, and I want to have the right hand follow the camera when aiming. How could I make this happen? Any suggestions are appreciated, thanks. Edit: Okay, I'll be more ...
1
vote
0answers
128 views

Adding a cardan-error to an animation with constraints [closed]

I have created an animation of a cardan shaft: youtube video. I'm using transformation constraints to copy the rotation of the base joint and obviously the others are sliding into each other. I would ...
3
votes
1answer
3k views

How to fix rotational constraint 'jumping' in rotation problem

I am rigging a set of gears (a car - wheels driving through a differential), and am taking the input as the wheel rotation. I've used parenting and constraints to link the gears. All goes well until I ...
3
votes
1answer
3k views

Object Not Following Bezier Curve Properly

There is no topic for 'paths' so I figured this would probably be a basic issue that someone can help me solve. I have a spaceship that I modeled. I also have a camera positioned in the distance. I ...
3
votes
3answers
1k views

Problem with rigid body joint

I have two meshes and I need they remain together while they move but being different meshes, so Ctrl+J is not the solution. I've tried to put a rigid body joint but when I activate it the two pieces ...
2
votes
2answers
191 views

What does “LOCKED_TRACK constraint reserved for Locked Track” mean?

I am working on the rig of a jet-fighter with no bones, using empties to emulate a hinge for the different parts that flap up etc; for this I use two empties: one to act as a hinge, the other as ...
7
votes
1answer
2k views

How does 'local with parent' space work?

My question touches the mathematical side of Blender more than the modelling one. I am having a problem understanding how the 'local with parent' space in bone constraints works. I have looked ...
4
votes
1answer
669 views

How can I snap to the projection of a mesh element?

I am trying to model a car seat. I would like to be able to Grab the selected edge (marked with the red arrow) and translate it to an arbitrary location. However, I would like to constrain the median ...
2
votes
1answer
1k views

Bone local coordinate adjustment

I have a small rig setup on which I am working. Later in pose mode I want the root bone to affect several (IK) bones. To have a better control I want to do it with contraints. So, lets say when I move ...
4
votes
1answer
1k views

Parent bone temporarily?

I asked a similar question before, except this time instead of parenting objects I want to parent the gun magazine bone to the left arms wrist for a bit, then set it back to the gun bones. My arms ...
15
votes
1answer
4k 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 ...
7
votes
1answer
3k 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 ...
2
votes
0answers
348 views

Blender's IK seems to ignore the Inherit Rotation checkbox, how do I work around it?

Here is a .blend file I've created to illustrate a strangeness I have observed with blender's Inverse Kinematics solver. Example 1 has an IK and the pre-yaw bone has no IK rotation restrictions. ...
3
votes
1answer
41 views

Contraints & Camtrack

I am trying to get a camera to follow a point in the X,Y,Z plane. It worked yesterday, but I can't get it to work today. I was able to follow the Book Tutorial, where he shows the setup steps: Add: (...
11
votes
4answers
8k views

Three bones following a curve

I have a chain of three bones and I want them to follow a curve (bezier curve). I've tried to do this creating a bone constraint follow path but it doesn't work. I'...
6
votes
1answer
2k views

Planes rotating to face the camera, but only along one axis

I'm using planes as labels on a map over which the camera makes a path. The problem is that if I simply have flat labels they don't look good when the camera is low (blue dots in the animation). With ...
4
votes
0answers
416 views

Get coordinates of object following curve using follow path constraint [duplicate]

I have an empty and a curve with locations both set at the origin (0,0,0) of my scene. The empty precisely follows the curve using a "follow path" constraint with the curve having "Path Animation" ...
2
votes
0answers
300 views

Can NLA strips be combined by transform matrix?

When I add two action constraints to each bone in an armature, they combine as expected and as described in the wiki, that is, translations are added, rotations are "added" (whether Euler rotations or ...
5
votes
1answer
6k views

How to lock object rotation along a path

I'm a little new to Blender and I have an object traveling along a path. However, I need the object to stay locked in a specific orientation while it traverses the path from start to finish. Think of ...