VisimBox 1.0 VisimBox 3d simulation and visualisation ToolBox

- Main Page
- Packages
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions
VisimBox.Physics.Spring Class Reference

Classical spring. More...

Inheritance diagram for VisimBox.Physics.Spring:

List of all members.

## Public Member Functions
| Spring (Vector3 cp1, Vector3 cp2, RigidBody target, float sprConst, float sprLength)
virtual void | Update (RigidBody node, float time)
| Update node by time.

## Detailed Description

Classical spring.

## Constructor & Destructor Documentation

VisimBox.Physics.Spring.Spring | ( | Vector3 | cp1,
|  | Vector3 | cp2,
|  | RigidBody | target,
|  | float | sprConst,
|  | float | sprLength
| ) |  |

## Member Function Documentation

virtual void VisimBox.Physics.Spring.Update | ( | RigidBody | node,
|  | float | time
| ) |  | `[virtual]`

Update node by time.

Parameters:

  node | node
  time | elapsed time

Implements VisimBox.Physics.IForceGenerator.

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

- ForceGenerator.cs

All Classes Namespaces Files Functions Variables Enumerations Properties Events