Magnitude halts GS

madpoetmadpoet Member Posts: 59
edited November -1 in Working with GS (Mac)
I constrained a variable to the magnitude of (xa-xb,ya-yb)
when I set a rule based on that variable, GS freezes.

The variable is a real variable. Any suggestions greatly appreciated.

P

Comments

  • firemaplegamesfiremaplegames Member Posts: 3,211
    Try adding in abs() to the expression - as magnitude needs to return a positive number.

    So:

    magnitude(abs(xa-xb),abs(ya-yb))
Sign In or Register to comment.