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

Public Member Functions

void CalculateMu ()
 
void CalculateRange ()
 
void Bind ()
 

Public Attributes

ObiPinholeConstraintsBatch.PinholeEdge firstEdge
 
ObiPinholeConstraintsBatch.PinholeEdge lastEdge
 
float breakThreshold = float.PositiveInfinity
 Force threshold above which the pinhole should break. More...
 

Properties

ObiActor rope [get]
 The rope this attachment is added to. More...
 
float edgeCoordinate [get]
 
int edgeIndex [get]
 
Transform target [get, set]
 The target transform that the pinhole should be attached to. More...
 
float position [get, set]
 Normalized coordinate of the point along the rope where the pinhole is positioned. More...
 
bool limitRange [get, set]
 
Vector2 range [get, set]
 Normalized coordinate of the point along the rope where the pinhole is positioned. More...
 
bool isBound [get]
 Whether this pinhole is currently bound or not. More...
 
float compliance [get, set]
 Constraint compliance. More...
 
float friction [get, set]
 
float motorSpeed [get, set]
 
float motorForce [get, set]
 
bool clampAtEnds [get, set]
 
float relativeVelocity [get, set]
 

Member Data Documentation

float Obi.ObiPinhole.breakThreshold = float.PositiveInfinity

Force threshold above which the pinhole should break.

Property Documentation

float Obi.ObiPinhole.compliance
getset

Constraint compliance.

High compliance values will increase the pinhole's elasticity.

bool Obi.ObiPinhole.isBound
get

Whether this pinhole is currently bound or not.

float Obi.ObiPinhole.position
getset

Normalized coordinate of the point along the rope where the pinhole is positioned.

Vector2 Obi.ObiPinhole.range
getset

Normalized coordinate of the point along the rope where the pinhole is positioned.

ObiActor Obi.ObiPinhole.rope
get

The rope this attachment is added to.

Transform Obi.ObiPinhole.target
getset

The target transform that the pinhole should be attached to.


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