利用者:Jaguarandi/SummerOfCode2008/ShrinkwrapConstraint

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

Shrinkwrap Constraint

Description

This constraint is based on the Shrinkwrap Modifier which allows an object to "shrink" to another object.

This constraint will move the origin of the object to the closest position on a given target. Three methods are implemented to define that "closest" position (namely Nearest Surface, Nearest Vertex, Normal Projection).

One of the usages is for example to colapse control objects/emptys to the ground.

Options

  • Shrink target defines the object to shrinkwrap around
  • Shrink mode defines the type of shrink:
    • Nearest Surface selects the nearest point over the surface of the shrink target
    • Nearest Vertex selects the nearest vertex of the shrink target
    • Normal projection projects vertexes in a given direction until touching the shrink target
      • Projection axis can be any of X,Y,Z
  • Distance offset defines the distance that must be kept from the calculated target position.