Obi  6.4
Unified particle physics for Unity
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
ObiContactGrabber Class Reference
Inheritance diagram for ObiContactGrabber:

Public Member Functions

void Grab ()
 
void Release ()
 

Public Attributes

ObiSolver[] solvers = { }
 

Properties

bool grabbed [get]
 

Detailed Description

Sample component that makes a collider "grab" any particle it touches (regardless of which Actor it belongs to).

Member Function Documentation

void ObiContactGrabber.Grab ( )

Grabs all particles currently touching the grabber.

void ObiContactGrabber.Release ( )

Releases all currently grabbed particles. This boils down to simply resetting their invMass.


The documentation for this class was generated from the following file: