R/cpSpace.R
cpSpaceGetCurrentTimeStep.RdReturns the current (or most recent) time step used with the given space. Useful from callbacks if your time step is not a compile-time global.
cpSpaceGetCurrentTimeStep(space)
| space | [ |
|---|
[cpFloat]
C function prototype: CP_EXPORT cpFloat cpSpaceGetCurrentTimeStep(const cpSpace *space);