「利用者:Sculptorjim/Game Engine/Physics/TransformOptions」の版間の差分
< 利用者:Sculptorjim | Game Engine | Physics
(Using sub-bullets for clarity.) |
細 (1版 をインポートしました) |
(相違点なし)
|
2018年6月29日 (金) 05:48時点における最新版
- Velocity - Limit the speed of an object. "0" is no limit.
- Range: 0-1000.
- Suboption: Minimum - The object is allowed to be at complete rest, but as soon as it accelerates it will immediately jump to the minimum speed.
- Default: 0.
- Python property:
obj.game.velocity_min
- Suboption: Maximum - Top speed of the object.
- Default: 0. (Unlimited.)
- Python property:
obj.game.velocity_max
- Damping - Increase the "sluggishness" of the object.
- Range: 0-1.
- Suboption: Translation - Resist movement. At "1" the object is completely immobile.
- Range: 0-1.
- Default: 0.0254.
- Python property:
obj.game.damping
- Suboption: Rotation - Resist rotation, but not the kind of rotation that comes from a collision. For example, if a Motion Controller applies Torque to an object, this damping will be a factor.
- Range: 0-1.
- Default: 0.159.
- Python property:
obj.game.rotation_damping
- Lock Translation - Seize the object in the world along one or more axes. Note that this is global coordinates, not local or otherwise.
- Defaults: All off.
- X - Python property:
obj.game.lock_location_x
- Y - Python property:
obj.game.lock_location_y
- Z - Python property:
obj.game.lock_location_z
- Lock Rotation - Same, but for rotation (also with respect to the global coordinates).
- Defaults: All off.
- X - Python property:
obj.game.lock_rotation_x
- Y - Python property:
obj.game.lock_rotation_y
- Z - Python property:
obj.game.lock_rotation_z