ahwa Posted June 11, 2015 Share Posted June 11, 2015 (edited) Math.Vector3 is how multiplied int or float Math.Vector3(x, y, z) * 5 <------- int or float x = x * 5 y = y * 5 z = z * 5 Decomposition Calculation It is like this??? Edited June 11, 2015 by ahwa 1 @ Quote Link to comment Short link Share on other sites More sharing options...
BossBox Posted June 11, 2015 Share Posted June 11, 2015 True (X,Z,Y), wrong (X,Y,Z) 1 @ Quote Link to comment Short link Share on other sites More sharing options...
ahwa Posted June 12, 2015 Author Share Posted June 12, 2015 True (X,Z,Y), wrong (X,Y,Z) This is the original No wonder I have not hit exactly I took it apart is calculated TMx, TMy, TMz = TargetMoved if __Player__.inputHandler.ctrlModeName == 'strategic': DC_Offset_X = ShotTime * TargetSpeed * round(TMx) DC_Offset_Y = ShotTime * TargetSpeed * round(TMy) DC_Offset_Z = ShotTime * TargetSpeed * round(TMz) else: DC_Offset_X = ShotTime * (TargetSpeed * 1.09) * TMx DC_Offset_Y = ShotTime * TargetSpeed * TMy DC_Offset_Z = ShotTime * (TargetSpeed * 1.09) * TMz AimOffset = Math.Vector3(DC_Offset_X, DC_Offset_Y, DC_Offset_Z) NTP = TargetPosition + AimOffset Allowed to play Thank you 1 @ Quote Link to comment Short link Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.