- angularForce(): ((t: ForceAffected) => Readonly<{
acceleration?: Point;
angle: number;
angularAcceleration: 0;
angularVelocity: number;
mass?: number;
position?: Point;
velocity?: Point;
}>) Returns ((t: ForceAffected) => Readonly<{
acceleration?: Point;
angle: number;
angularAcceleration: 0;
angularVelocity: number;
mass?: number;
position?: Point;
velocity?: Point;
}>)
- (t): Readonly<{
acceleration?: Point;
angle: number;
angularAcceleration: 0;
angularVelocity: number;
mass?: number;
position?: Point;
velocity?: Point;
}> Returns Readonly<{
acceleration?: Point;
angle: number;
angularAcceleration: 0;
angularVelocity: number;
mass?: number;
position?: Point;
velocity?: Point;
}>
Sets angle, angularVelocity and angularAcceleration based on angularAcceleration, angularVelocity, angle