Skip to content
Evdokimov Maksim edited this page Jul 20, 2021 · 8 revisions

Shafts are introdused by ShaftPoint class
[Save]

public float Torque;
public float Force;
public float Drag = 0.01f;
public ShaftPoint ParentShaft;
public List<ShaftPoint> ConnectedPoints = new List<ShaftPoint>();

Torque is speed of rotation.
Force is max speed of rotation.
Drag is how fast torque will fall.
ParentShaft is parentShaft.
ConnectedPoints are connected shafts.

Clone this wiki locally