Function angleFromAccelerationForce
- angleFromAccelerationForce(scaling?): ((t: ForceAffected) => Readonly<{
acceleration?: Point;
angle?: number;
angularAcceleration: number;
angularVelocity?: number;
mass?: number;
position?: Point;
velocity?: Point;
}>) Returns ((t: ForceAffected) => Readonly<{
acceleration?: Point;
angle?: number;
angularAcceleration: number;
angularVelocity?: number;
mass?: number;
position?: Point;
velocity?: Point;
}>)
- (t): Readonly<{
acceleration?: Point;
angle?: number;
angularAcceleration: number;
angularVelocity?: number;
mass?: number;
position?: Point;
velocity?: Point;
}> Returns Readonly<{
acceleration?: Point;
angle?: number;
angularAcceleration: number;
angularVelocity?: number;
mass?: number;
position?: Point;
velocity?: Point;
}>
Yields a force function that applies the thing's acceleration.x to its angular acceleration.