Filters
From Fracture FX
(Difference between revisions)
(→data filter) |
(→object filter) |
||
Line 29: | Line 29: | ||
= object filter = | = object filter = | ||
+ | Tests if a rigid body is derived from a particular input mesh. | ||
+ | |||
[[File:Object filter.png]] | [[File:Object filter.png]] | ||
Revision as of 03:59, 17 July 2012
Filters are logical tests applied to one or both of the rigid bodies in a colliding pair, used to describe conditions that must be satisied in order for a collision event to be triggered. All filters must evaluate to true for the event to be triggered and the script to execute.
Contents |
trigger filter
Allow a rigid body to participate in this event either repeatedly or only once.
type | enum |
---|---|
default | repeated |
indices | once : repeated |
Limit the number of times this event may be triggered for each object. Requires the script to set "trigger:"+$thisPlug. |
chance filter
DG filter
object filter
Tests if a rigid body is derived from a particular input mesh.
object_set filter
difference filter
time filter
contact filter
data filter
Compares the value of custom data attached to a body, with some constant value. The test may be applied to the first or second body, either (logical OR), or both (logical AND). If the body doesn't have the data attached, the filter evaluates to false.