Ignore:
Timestamp:
07/05/24 02:08:57 (2 weeks ago)
Author:
Maciej Komosinski
Message:

Cosmetic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • framspy/recording-body-coords.sim

    r1305 r1312  
    6464        if (cr.perf_measuring == 1) //record body position only when the creature is in the "performance measuring" period
    6565        {
    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]
    6867                if (STORE_ALL_PART_COORDS)
    6968                {
Note: See TracChangeset for help on using the changeset viewer.