Display Text and Linear velocity

jhewelljhewell Member Posts: 2
edited November -1 in Working with GS (Mac)
I am having trouble using DisplayText to show Linear Velocity. I tried setting the text to magnitude( self.Motion.Linear Velocity.X , self.Motion.Linear Velocity.Y ), but it always reads 0. Any ideas?

Comments

  • CobraCobra Member Posts: 160
    Try creating an actor attribute, constraining its value to magnitude( self.Motion.Linear Velocity.X , self.Motion.Linear Velocity.Y ), and then using DisplayText to show that attribute.
  • jhewelljhewell Member Posts: 2
    That did it. Thanks!!
Sign In or Register to comment.