Fields

@:optionaloptionaly:Null<Float>

The Verlet World's position on the Y axis.

@:optionaloptionalx:Null<Float>

The Verlet World's position on the X axis.

width:Float

Width of the Verlet World, extending right from the World's X position.

@:optionaloptionaliterations:Null<Int>

The amount of iterations that occur each time the World is stepped. The higher the number, the more stable the Physics Simulation will be, at the cost of performance.

Default value is 5.

height:Float

Height of the Verlet World, extending down from the World's Y position.

@:optionaloptionalgravity_y:Null<Float>

The amount of acceleration on the Y axis applied to each Dot every Step.

@:optionaloptionalgravity_x:Null<Float>

The amount of acceleration on the X axis applied to each Dot every Step.

@:optionaloptionalfixed_framerate:Null<Float>

The fixed Step rate of the Verlet World. The Verlet simulation must be stepped forward at a consistent rate, or it's stability will quickly deteriorate.

Default value is 60.

@:optionaloptionaldrag:Null<Float>

Default value is 0.98.