[Opensim-users] can vectors not be subtracted?

Markus pet2001 at epbfi.com
Mon Nov 26 16:57:32 UTC 2018


On 2018-11-26 11:47, Ethan Gardener wrote:
>          vector v = <32., 1248., 87.65> - <35.623466, 1234.477051, 22.>;
> (6,70) syntax error
> 
> can you not do this, so you have to subtract each element individually?  it's been a years since i last tried.
> 

You can subtract vectors, however something like "32." will cause a 
syntax error. Write "32.0" or "32" instead. I think that is your problem.


More information about the Opensim-users mailing list