Jump to content


Koron XYZ

Member Since 20 Feb 2008
Offline Last Active May 11 2013 07:40 PM

Posts I've Made

In Topic: Life Saver

31 December 2012 - 11:15 PM

Exactly! Proof-of-concept haha

In Topic: Gm Conflict : Version 0.17 [12/04/2012]

30 December 2012 - 05:37 PM

I'm glad to see Seiklus in the upcoming characters =)

In Topic: Finding Theta in a Trajectory

27 October 2012 - 10:33 PM

That actually does look a lot prettier. Thanks, Yourself.

In Topic: Finding Theta in a Trajectory

27 October 2012 - 04:34 PM

Thank you! For anyone interested, here is the code that worked:
    time += .4;
    xx = mag * cos(theta) * time;
    yy = -((mag * sin(theta) * time) - .5 * grav * power(time, 2));
    
    var xprev, yprev;
    xprev = mag * cos(theta) * (time - .4);
    yprev = -((mag * sin(theta) * (time - .4)) - .5 * grav * power(time - .4, 2));
    
    direction = point_direction(x1 + xprev, y1 + yprev, x1 + xx, y1 + yy);

In Topic: Finding Theta in a Trajectory

25 October 2012 - 08:26 PM

Then how would I find the angle of the trajectory? Between what two points?