It seems needlessly complicated to me for some reason.
You can use the wasp's velocity with the chkpos() to return a point x seconds in front of it.
Then adjust the motor to the ratio of these two points' topo().
For jet() I always do a single line:
You can use the wasp's velocity with the chkpos() to return a point x seconds in front of it.
Then adjust the motor to the ratio of these two points' topo().
For jet() I always do a single line:
Code:
jet(( targetPosZ - this.position.z ) / smoothingFactor)
My Code Battle League program: MhrodeBattle.txt
Welcome back, Mrocza. You last visited: Sunday, July 7th, 2013, 02:12 pm
http://imgur.com/L3Y8bQz
Welcome back, Mrocza. You last visited: Sunday, July 7th, 2013, 02:12 pm
http://imgur.com/L3Y8bQz