Torque2D Reference
Public Member Functions | Public Attributes | List of all members
b2RopeDef Struct Reference

#include <b2Rope.h>

Public Member Functions

 b2RopeDef ()
 

Public Attributes

b2Vec2vertices
 
int32 count
 
float32 * masses
 
b2Vec2 gravity
 
float32 damping
 
float32 k2
 Stretching stiffness. More...
 
float32 k3
 Bending stiffness. Values above 0.5 can make the simulation blow up. More...
 

Constructor & Destructor Documentation

b2RopeDef ( )
inline

Member Data Documentation

int32 count
float32 damping
b2Vec2 gravity
float32 k2

Stretching stiffness.

float32 k3

Bending stiffness. Values above 0.5 can make the simulation blow up.

float32* masses
b2Vec2* vertices

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