src/nodes/processing/VelocityProcessingNode.ts
Function applyVelocity
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public applyVelocity(object: DataObject, frame: InOut): Promise<DataObject> {
return new Promise((resolve) => {
const lastPosition = object.getPosition();
// Time since current calculation and previous velocity
const deltaTime = TimeService.getUnit().convert(