kappa_sdk.shift_vector#

kappa_sdk.shift_vector(vector, value)[source]#

Shift a vector by applying a scaling factor and modifying elapsed times.

The function adjusts the provided vector by applying a factor to it and then modifying its elapsed times based on the scaling value. The modified vector is then returned.

Parameters:
  • vector (Vector) – The input vector to be shifted.

  • value (float) – The scaling factor to be applied to the vector.

Returns:

Vector – The shifted vector with modified elapsed times.

Return type:

Vector