Error: no such theme PatternSkinTheme
You are here: Foswiki>Glimmer Web>GleamWiki>GleamAPI>ProcedureGetPreviousTime (2012-07-29, JennelleNystrom)EditAttach


(axis-get-previous-time joint axis )


Returns the time that the position before the current position of the given joint along the axis was stored.


joint a joint vector
axis x, y or z


time an integer


The joint is a joint vector that can be obtained by a call to oscstring->joint. Axis is x, y or z where x is the joint's horizontal position, y is the joint's vertical position and z is the joint's depth position.


The returned time integer is the time that the position recorded before the joint's current position along the axis was stored. Calls to axis-get-previous-time can be used with axis-get-current-time to trace the joint's behavior along the given axis and calculate the joint's speed. Time values are in the form of Impromptu's internal clock. For more information on these time values, see the GettingStarted page.

Related Functions

-- JennelleNystrom - 2012-07-29
Topic revision: r1 - 2012-07-29, JennelleNystrom

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback