Measuring distance

gazjmgazjm Member Posts: 578
edited November -1 in Working with GS (Mac)
Does anybody know how to track the position of something in a scene, or the distance a ball has been thrown for example?

I tried self.position x but it just reports the value on the screen location, not the entire scene.

Thanks

Comments

  • VoidedSkyVoidedSky Member Posts: 1,095
    Magnitude(ball.position.x,ball.position.y)

    it can be found in the expression editor. You need to constrain the ball positions to global attributes.
    it should work
  • gazjmgazjm Member Posts: 578
    Thanks, i'll give it a go!
Sign In or Register to comment.