Skip to main content

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)
ParameterTypeDescription
boneCountintAmount of bones to add to the chain
dampingfloatAmount of Damping
elasticityfloatElasticity of the chain
stiffnessfloatStiffness of the chain
inertfloatInert

Returns: Root of the created chain

deletePendulumChain​

Delete pendulum chain with given root

deletePendulumChain(IPendulumRoot root)
ParameterTypeDescription
rootIPendulumRootRoot of the chain to remove