Joint
Abstract class for joints holding all the common properties of joints.
Parameters
body
A body the joint is attached to
natural Length
The desired distance of the joint between two points/bodies
spring Constant
The strength of the joint
dampening Constant
The dampening constant to use for the joints forces
can Go Slack
Boolean whether the joint can go slack or not
offset
Offset to be applied to the location of the joint relative to b1's object space.
Functions
Link copied to clipboard
Abstract method to apply tension to the joint
Link copied to clipboard
Abstract method to calculate tension between the joint
Link copied to clipboard
Determines the rate of change between two objects/points.