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).
Nobody/Anonymous
New Feature
None
Public
|
Date: 2007-12-11 10:41:47 PST
|
|
Date: 2007-12-08 20:54:17 PST
|
|
Date: 2007-12-08 20:48:18 PST
|
| Filename | Description | Download |
|---|---|---|
| damping.patch | Download |
| 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 |