ronald wrote ...

2021/5/31

VARIOUS

1
2
3
danpost

2021/6/9

Change 50 in line 35 to 100.
ronald

2021/6/9

line 15 you mean I forget to add mousemoved to move rocket but it does not move it remains blocked The distance is always equal to zero I have a problem of x1.getx (), x2.getx () ...
ronald

2021/6/9

ok i erased mouseclicked because it blocks with mouseMoved it's always equal to zero but I'm looking for
ronald

2021/6/9

I have a question The distance is calculated with respect to the point X = 0, y = 0? I just realize I thought to calculate between two points in clicking anywhere by moving the mouse, I'm wrong, Is this feasible?
danpost

2021/6/9

ronald wrote...
The distance is calculated with respect to the point X = 0, y = 0?
Then all you need is:
`double distance = Math.hypot(x1, y1);`
ronald

2021/6/10

hi I am looking for the mathematical formula of a projectile or rocket moving shot in vertical There are so many on Google that I do not know how to choose Thank you for your help
danpost

2021/6/10

If moving in a straight line, no mathematical formula is needed.
ronald

4 days ago

yes I'm stupid I found a code on a cannon of Ubay Dillah but the missile flies straight in vertical What interests me, it is to see the missile fly vertically and not right in vertically I do not know if you understand me
danpost

4 days ago

In a straight line, but angled? like Missile Command?
ronald

4 days ago

you tilt Rocket and pull a missile that points its nose following the trajectory vertically and not standing With a round shot, you do not see but a missile starting in vertical, you see it, the missile follows the standing trajectory
danpost

4 days ago

So, like:
```Actor missile = new Missile();