Jump to content

Projectile velocity


Artix

Recommended Posts

local target = a point with some meters ahead of the hydra. maybe 200

local m1 = createProjectile(hydra,20,hydraleftwingposition,1, target,0,0,0,hydra.matrix.forward)
local m2 = createProjectile(hydra,20,hydrarightwingposition,1, target,0,0,0,hydra.matrix.forward)

how can i get missiles to the same point or that gather along the way without slowing velocity, i already try setElementPosition and setElementVelocity, findRot and findRot3D but i can't make it work because i don't know how exactly to do it mathematically.

can someone help me, pls?

Thanks in advance

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...