Tracker: Patches

5 Damping Functions - ID: 1837955
Last Update: Comment added ( danielosmari )

This patch adds two new functions:

void dBodyDampLinear(dBodyID b, dReal scale);
void dBodyDampAngular(dBodyID b, dReal scale);


It also modifies the boxstack demo, to enable damp by pressing 'd'.

The damp is just the linear/angular velocity vector multiplied by the body mass and the scale (times -1).


Daniel K. O. ( danielosmari ) - 2007-11-24 22:13:54 PST

5

Closed

Accepted

Nobody/Anonymous

New Feature

None

Public


Comments ( 3 )

Date: 2007-12-11 10:41:47 PST
Sender: danielosmariProject Admin


Applied on revision 1325, with SetMaxAngularVel functions.


Date: 2007-12-08 20:54:17 PST
Sender: danielosmariProject Admin


File Added: damping.patch


Date: 2007-12-08 20:48:18 PST
Sender: danielosmariProject Admin


Uploaded a (mostly definitive) patch. See the discussion in the mailing
list.
File Added: damping.patch


Attached File ( 1 )

Filename Description Download
damping.patch Download

Changes ( 8 )

Field Old Value Date By
close_date - 2007-12-11 10:41:47 PST danielosmari
status_id Open 2007-12-11 10:41:47 PST danielosmari
resolution_id None 2007-12-11 10:41:47 PST danielosmari
artifact_group_id Needs Feedback 2007-12-11 10:41:47 PST danielosmari
File Added 257821: damping.patch 2007-12-08 20:54:17 PST danielosmari
File Deleted 257820: 2007-12-08 20:50:34 PST danielosmari
File Added 257820: damping.patch 2007-12-08 20:48:18 PST danielosmari
summary dBodDampLinear & dBodyDampAngular 2007-12-08 20:48:18 PST danielosmari