C# Class ChainBuilder, VJ01

Inheritance: MonoBehaviour
Mostra file Open project: keijiro/VJ01 Class Usage Examples

Public Properties

Property Type Description
angularDrag float
colliderRadius float
drag float
interval float
mass float
nodeNum int
nodePrefab GameObject

Public Methods

Method Description
AddJoint ( GameObject node, GameObject boundTo ) : void
AddRigidbody ( GameObject node, bool isFixed ) : void
Awake ( ) : void
BuildChain ( GameObject root ) : void

Method Details

AddJoint() public method

public AddJoint ( GameObject node, GameObject boundTo ) : void
node GameObject
boundTo GameObject
return void

AddRigidbody() public method

public AddRigidbody ( GameObject node, bool isFixed ) : void
node GameObject
isFixed bool
return void

Awake() public method

public Awake ( ) : void
return void

BuildChain() public method

public BuildChain ( GameObject root ) : void
root GameObject
return void

Property Details

angularDrag public_oe property

public float angularDrag
return float

colliderRadius public_oe property

public float colliderRadius
return float

drag public_oe property

public float drag
return float

interval public_oe property

public float interval
return float

mass public_oe property

public float mass
return float

nodeNum public_oe property

public int nodeNum
return int

nodePrefab public_oe property

public GameObject nodePrefab
return GameObject