Need a math wiz for a Velocity issue.
Maybe this is not actually a difficult thing to figure out however does anyone know how to Calculates a total velocity based on the Linear.Velocity.X and Linear.Velocity.Y
its actually quite frustrating to have that as the only velocity options through attributes but something like the move to behavior uses a single number. How can I use moveTo and match the speed of another actor that is not using a behavior to set the velocity? Any ideas. There has to be a way to determine this magical number.
Thanks
Aaron
___________________________________________________________________________________
GS BubbleBall Template HERE!!
Stacks Level Selection Template HERE!!
Expanding Option Menu Template HERE!!
Tenrdrmer's Menu # 3 HERE!!
AppSolute Entertainment on Facebook
AppSolute Entertainment on iTunes
its actually quite frustrating to have that as the only velocity options through attributes but something like the move to behavior uses a single number. How can I use moveTo and match the speed of another actor that is not using a behavior to set the velocity? Any ideas. There has to be a way to determine this magical number.
Thanks
Aaron
___________________________________________________________________________________
GS BubbleBall Template HERE!!
Stacks Level Selection Template HERE!!
Expanding Option Menu Template HERE!!
Tenrdrmer's Menu # 3 HERE!!
AppSolute Entertainment on Facebook
AppSolute Entertainment on iTunes
Comments
a²+b²=c²
a = self.linearvelocity.x
b = self.linearvelocity.y
c = overall velocity
now you got your math lesson for the day.
ahh! you got the yourself answer before I posted and it looks very sensible
... is taking notes. This could come in handy.