Doc:2.6/Manual/Game Engine/Physics/TransformOptions

提供: wiki
移動先: 案内検索
  • 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