Menu

#150 X/Y/Z axis aligned capsule patch

None
closed
nobody
5
2014-02-04
2009-01-31
Mark Sibly
No

Hi,

Patch to allow capsules to be aligned to either the x/y or z axis. Currently, capsule are hardcoded to be aligned to z axis.

The following functions are added...

void dGeomCapsuleSetAxis( dGeomID geom,int axis );

int dGeomCapsuleGetAxis( dGeomID geom );

...where axis is 0,1,2 for X, Y, Z axis respectively,

Capsule axis defaults to '2' for backward compatibility.

Discussion

  • Mark Sibly

    Mark Sibly - 2009-01-31

    X/Y/Z axis aligned capsule patch

     
  • Daniel K. O.

    Daniel K. O. - 2014-02-04
    • status: open --> closed
    • Group: --> None
     

Log in to post a comment.