From BlenderWiki

Jump to: navigation, search
Blender3D FreeTip.gif
IMPORTANT! Do not update this page!
We have moved the Blender User Manual to a new location. Please do not update this page, as it will be locked soon.
Page status (reviewing guidelines)

Images examples
Proposed fixes: none

Follow Path Constraint

The Follow Path constraint places its owner onto a curve target object, and makes it move along this curve (or path). It can also affect its owner’s rotation to follow the curve’s bends, when the Follow Curve option is enabled.

The owner is always evaluated in the global (world) space:

  • Its location (as shown in the Transform Properties panel, N) is used as an offset from its normal position on the path. E.g. if you have an owner with the (1.0, 1.0, 0.0) location, it will be one BU away from its normal position on the curve, along the X and Y axis. Hence, if you want your owner on its target path, clear its location (AltG)!
  • This location offset is also proportionally affected by the scale of the target curve. Taking the same (1.0, 1.0, 0.0) offset as above, if the curve has a scale of (2.0, 1.0, 1.0), the owner will be offset two BU along the X axis (and one along the Y one)…
  • When the Curve Follow option is enabled, its rotation is also offset to the one given by the curve (i.e. if you want the Y axis of your object to be aligned with the curve’s direction, it must be in rest, non-constrained state, aligned with the global Y axis). Here again, clearing your owner’s rotation (AltR) might be useful…

The movement of the owner along the target curve/path may be controlled in two different ways:

  • The most simple is to define the number of frames of the movement, in the Path Animation panel of the Object Data context, via the numeric field Frames, and its start frame via the constraint’s Offset option (by default, start frame: 1 [= offset of 0)], duration: 100).
  • The second way, much more precise and powerful, is to define a Evaluation Time interpolation curve for the Target path (in the Graph Editor. See the animation chapter to learn more about Fcurves.
  • If you don’t want your owner to move along the path, you can give to the target curve a flat Speed FCurve (its value will control the position of the owner along the path).

Follow Path is another constraint that works well with the Locked Track one. One example is a flying camera on a path. To control the camera’s roll angle, you can use a Locked Track and a target object to specify the up direction, as the camera flies along the path.

Follow Path and Clamp To
Do not confuse these two constraints. Both of them constraint the location of their owner along a curve, but Follow Path is an “animation-only” constraint, inasmuch that the position of the owner along the curve is determined by the time (i.e. current frame), whereas the Clamp To constraint determines the position of its owner along the curve using one of its location properties’ values.


Note
Note that you also need to keyframe Evaluation Time for the Path. Select the path, go to the path properties, set the overall frame to the first frame of the path (e.g. frame 1), set the value of Evaluation time to the first frame of the path (e.g. 1), right click on Evaluation time, select create keyframe, set the overall frame to the last frame of the path (e.g. frame 100), set the value of Evaluation time to the last frame of the path (e.g. 100), right click on Evaluation time, select create keyframe.


Options

Follow Path panel
Target
This constraint uses one target, which must be a curve object, and is not functional (red state) when it has none.
Curve Radius
Objects scale by the curve radius. See Curve Editing
Fixed Position
Object will stay locked to a single point somewhere along the length of the curve regardless of time
Offset
The number of frames to offset from the “animation” defined by the path (by default, from frame 1).
Follow Curve
If this option is not activated, the owner’s rotation isn’t modified by the curve; otherwise, it’s affected depending on the following options:
Forward
The axis of the object that has to be aligned with the forward direction of the path (i.e. tangent to the curve at the owner’s position).
Up
The axis of the object that has to be aligned (as much as possible) with the world Z axis.
In fact, with this option activated, the behavior of the owner shares some properties with the one caused by a Locked Track constraint, with the path as “axle”, and the world Z axis as “magnet”.




Blender3D FreeTip.gif
This is the old manual!
For the current 2.7x manual see http://www.blender.org/manual/


User Manual

World and Ambient Effects

World

Introduction
World Background

Ambient Effects

Mist
Stars (2.69)


Game Engine

Introduction

Introduction to the Game Engine
Game Logic Screen Layout

Logic

Logic Properties and States
The Logic Editor

Sensors

Introduction to Sensors
Sensor Editing
Common Options
-Actuator Sensor
-Always Sensor
-Collision Sensor
-Delay Sensor
-Joystick Sensor
-Keyboard Sensor
-Message Sensor
-Mouse Sensor
-Near Sensor
-Property Sensor
-Radar Sensor
-Random Sensor
-Ray Sensor
-Touch Sensor

Controllers

Introduction
Controller Editing
-AND Controller
-OR Controller
-NAND Controller
-NOR Controller
-XOR Controller
-XNOR Controller
-Expression Controller
-Python Controller

Actuators

Introduction
Actuator Editing
Common Options
-2D Filters Actuator
-Action Actuator
-Camera Actuator
-Constraint Actuator
-Edit Object Actuator
-Game Actuator
-Message Actuator
-Motion Actuator
-Parent Actuator
-Property Actuator
-Random Actuator
-Scene Actuator
-Sound Actuator
-State Actuator
-Steering Actuator
-Visibility Actuator

Game Properties

Introduction
Property Editing

Game States

Introduction

Camera

Introduction
Camera Editing
Stereo Camera
Dome Camera

World

Introduction

Physics

Introduction
Material Physics
No Collision Object
Static Object
Dynamic Object
Rigid Body Object
Soft Body Object
Vehicle Controller
Sensor Object
Occluder Object

Path Finding

Navigation Mesh Modifier

Game Performance

Introduction
System
Display
Framerate and Profile
Level of Detail

Python API

Introduction
Bullet physics
VideoTexture

Deploying

Standalone Player
Licensing of Blender Game

Android Support

Android Game development