InteractiveCloth.AddForceAtPosition 所在位置添加力

function AddForceAtPosition (force : Vector3, radius : float, mode : ForceMode = ForceMode.Force) : void

Description描述

Adds force force to all vertices of the cloth mesh which are with radius distance of position.

添加force力到布料网格的所有点,带有位置的半径距离。

也就是说,给布料网格,在position位置radius半径范围的添加力。

参见:Cloth.externalAcceleration, Cloth.randomAcceleration

Page last updated: 2011-3-27