Filters

From Fracture FX
(Difference between revisions)
Jump to: navigation, search
(data filter)
(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.
+
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: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.

Trigger filter.png

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

Chance filter.png

DG filter

Dg filter.png

object filter

Object filter.png

object_set filter

Object set filter.png

difference filter

Difference filter.png

time filter

Time filter.png

contact filter

Contact filter.png

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.

Data filter.png

ground_plane filter

Ground plane filter.png

size filter

Size filter.png

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox