Filters
From Fracture FX
(Difference between revisions)
(→data filter) |
|||
Line 44: | Line 44: | ||
= data filter = | = data 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. | ||
+ | |||
[[File:Data filter.png]] | [[File:Data filter.png]] | ||
Revision as of 03:58, 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
object_set filter
difference filter
time filter
contact filter
data 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.