IPendulumInterface
Functionality related to pendulum chains
Namespace: VNyanInterface
Methods
createPendulumChain
Create pendulum chain with given values
createPendulumChain(int boneCount, float damping, float elasticity, float stiffness, float inert)
| Parameter | Type | Description |
|---|---|---|
boneCount | int | Amount of bones to add to the chain |
damping | float | Amount of Damping |
elasticity | float | Elasticity of the chain |
stiffness | float | Stiffness of the chain |
inert | float | Inert |
Returns: Root of the created chain
deletePendulumChain
Delete pendulum chain with given root
deletePendulumChain(IPendulumRoot root)
| Parameter | Type | Description |
|---|---|---|
root | IPendulumRoot | Root of the chain to remove |