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

Public Types

enum  AttachmentType { Static, Dynamic }
 

Properties

ObiActor actor [get]
 The actor this attachment is added to. More...
 
Transform target [get, set]
 The target transform that the particleGroup should be attached to. More...
 
ObiParticleGroup particleGroup [get, set]
 The particle group that should be attached to the target. More...
 
bool isBound [get]
 Whether this attachment is currently bound or not. More...
 
AttachmentType attachmentType [get, set]
 Type of attachment, can be either static or dynamic. More...
 
bool constrainOrientation [get, set]
 Should this attachment constraint particle orientations too? More...
 
float compliance [get, set]
 Constraint compliance, in case this attachment is dynamic. More...
 
float breakThreshold [get, set]
 Force thershold above which the attachment should break. More...
 

Property Documentation

ObiActor Obi.ObiParticleAttachment.actor
get

The actor this attachment is added to.

AttachmentType Obi.ObiParticleAttachment.attachmentType
getset

Type of attachment, can be either static or dynamic.

float Obi.ObiParticleAttachment.breakThreshold
getset

Force thershold above which the attachment should break.

Only affects dynamic attachments, as static attachments do not work with forces.

float Obi.ObiParticleAttachment.compliance
getset

Constraint compliance, in case this attachment is dynamic.

High compliance values will increase the attachment's elasticity.

bool Obi.ObiParticleAttachment.constrainOrientation
getset

Should this attachment constraint particle orientations too?

bool Obi.ObiParticleAttachment.isBound
get

Whether this attachment is currently bound or not.

ObiParticleGroup Obi.ObiParticleAttachment.particleGroup
getset

The particle group that should be attached to the target.

Transform Obi.ObiParticleAttachment.target
getset

The target transform that the particleGroup should be attached to.


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