# CDS definitions
# Marc Schaub 
# Gravity Definitions
# Conroy Lee

alias gravity-change-object-mass 'set massarray[\!:2] = ${MassKg:value};cds-figure-set-resource \!:1 MassKg value $massarray[\!:3]'

alias gravity-change-object-pos 'set xarray[\!:2] = ${X0:value};cds-figure-set-resource \!:1 X0 value $xarray[\!:3];set yarray[\!:2] = ${Y0:value}; cds-figure-set-resource \!:1 Y0 value $yarray[\!:3]'

alias gravity-change-object-vel 'set vxarray[\!:2] = ${vx0:value}; cds-figure-set-resource \!:1 vx0 value $vxarray[\!:3];set vyarray[\!:2] = ${vy0:value}; cds-figure-set-resource \!:1 vy0 value $vyarray[\!:3]'
