利用者:Sculptorjim/Game Engine/Logic/Actuators/Motion

提供: wiki
< 利用者:Sculptorjim‎ | Game Engine‎ | Logic‎ | Actuators
2018年6月29日 (金) 04:51時点におけるYamyam (トーク | 投稿記録)による版 (1版 をインポートしました)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先: 案内検索

Motion Actuator

The Motion actuator sets an object into motion and/or rotation. There are two modes of operation, simple or servo in which the object can either teleport, rotate or dynamically move. Also, simple mode operation depends on the type of Physics setting for the Object.

See Actuator Common Options for common options.

Special Options:

Motion Type
Determines type of motion
Simple Motion
applies different kinds of motions directly
Servo Control
sets a target speed and also how quickly it reaches that speed.
Blender3D FreeTip.png
Object collisions
Simple motion can cause an object to go through another object since it never passes the any of the coordinates between the start and end. This can be avoided using Servo Control, which is activated when the Physics setting for the object(s) is set to Dynamic/Rigid Body/Soft Body.


Simple Motion

Motion actuator for Simple Motion
Loc
The object jumps the number of blender units entered, in each of the three axes,each time a pulse is received.
Rot
The object rotates by the specified amount, in each of the three axes, each time a pulse is received. One revolution is represented by the value 7.2 (i.e. 0.02 for one degree).
L
Coordinates specified are Global (gray) or Local (White).


Blender3D FreeTip.png
Servo Control
To make Servo Control work, it is necessary to turn on Dynamic in the Physics window, and to make the object an Actor.


Servo Control

Motion actuator for Servo Control
Servo control is a powerful way to achieve motion in way which mimics the movement of objects in the physical world. It consists in a servo controller that adjusts the force on the object in order to achieve a given speed. Uses the Proportional - Integral - Derivative (PID) equations of motion See Ref..
Reference Ob
Specifies the object which the actuator owner uses as a reference for movement, for moving platforms for example. If empty it will use world reference.
Linear V
The target linear velocity, in each of the three axes, which the object will try and achieve.
L
Coordinates specified are Global (gray) or Local (White).
X, Y, Z
Sets maximum and minimum limits for the force applied to the object. If disabled (i.e. X,Y or Z buttons are gray) the force applied is unlimited.
Proportional Coefficient
Set the Proportional Coefficient. This controls the reaction to diferences between the actual and target linear velocity.
Integral Coefficient
Set the Integral Coefficient. This controls the reaction to the sum of errors so far in this move.
Derivative Coefficient
Set the Derivative Coefficient. This controls the reaction


See also

PID Controller
http://en.wikipedia.org/wiki/PID_controller}}