Changeset 1312 for framspy/recording-body-coords.sim
- Timestamp:
- 07/05/24 02:08:57 (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
framspy/recording-body-coords.sim
r1305 r1312 64 64 if (cr.perf_measuring == 1) //record body position only when the creature is in the "performance measuring" period 65 65 { 66 var cog = cr.centerOfGravity; 67 cog = [cog.x, cog.y, cog.z]; 66 var cog = cr.centerOfGravity.toVector; // toVector yields [centerOfGravity.x, centerOfGravity.y, centerOfGravityg.z] 68 67 if (STORE_ALL_PART_COORDS) 69 68 {
Note: See TracChangeset
for help on using the changeset viewer.