Search found 9 matches

Re: Graduately steering the car using the car behavior

You could try setting a global variable and setting the steering speed to that variable every tick. Then, on key down, start increasing the variable, and on key up reset it to the original amount. Or you could just directly increase the steering speed. I have never played with cars, so I don't know ...
by McDonald
Tue Jan 13, 2015 4:01 pm
 
Forum: How do I....?
Topic: [Solved]Gradually steering the car using the car behavior
Replies: 3
Views: 555

Re: How do I predict an orbiting object's trajectory and dra

I cut out some irrelevant actions.
Image
by McDonald
Tue Jan 13, 2015 3:54 pm
 
Forum: How do I....?
Topic: How do I predict an orbiting object's trajectory and draw it
Replies: 14
Views: 1682

Re: How do I predict an orbiting object's trajectory and dra

@fisholith Well, I still have a problem - I update the real ship, then update the ghost ship, then loop it 100 times, but the ghost doesn't update and stays in the same place as the real ship, spawning 100 dots every tick. My every tick event looks like this: >Start tick >Do physics stuff and update...
by McDonald
Sun Jan 11, 2015 1:46 pm
 
Forum: How do I....?
Topic: How do I predict an orbiting object's trajectory and draw it
Replies: 14
Views: 1682

Re: How do I predict an orbiting object's trajectory and dra

Eh, I tried adding it to my game (then just straight up copy-pasting it), but it didn't help. Thanks for help, anyway.
by McDonald
Sat Jan 10, 2015 9:02 pm
 
Forum: How do I....?
Topic: How do I predict an orbiting object's trajectory and draw it
Replies: 14
Views: 1682

Re: How do I predict an orbiting object's trajectory and dra

I did what you suggested and the ghost doesn't update and follows the real ship instead. This is probably because the tick ends, ghost starts going forwards, but the next tick comes and resets the ghost back to ship's position. I added the loop as a sub-event if that matters. The "Repeat 100 ti...
by McDonald
Sat Jan 10, 2015 4:19 pm
 
Forum: How do I....?
Topic: How do I predict an orbiting object's trajectory and draw it
Replies: 14
Views: 1682

Re: How do I predict an orbiting object's trajectory and dra

I should've explained more - there is a star system, with a central star and two planets orbiting it in more or less circular orbits, and you can freely fly around it, while the star and planets constantly affect your trajectory. I'll take a look at this tutorial, thanks! E: Well, it didn't help muc...
by McDonald
Sat Jan 10, 2015 2:54 pm
 
Forum: How do I....?
Topic: How do I predict an orbiting object's trajectory and draw it
Replies: 14
Views: 1682

Re: How do I predict an orbiting object's trajectory and dra

I searched around and didn't find anything similar to my question. Could you give me a link to one?
by McDonald
Sat Jan 10, 2015 2:35 pm
 
Forum: How do I....?
Topic: How do I predict an orbiting object's trajectory and draw it
Replies: 14
Views: 1682

Re: How do I make a dynamic "hold-jump" effect for a bullet?

Have you tried adding an instance variable "Gravity" to the vials, setting it the the gravity you want, and then setting bullet gravity to Self.Gravity?
by McDonald
Sat Jan 10, 2015 12:19 pm
 
Forum: How do I....?
Topic: How do I make a dynamic "hold-jump" effect for a bullet?
Replies: 5
Views: 202

How do I predict an orbiting object's trajectory and draw it

(Not enough space for a ? :) )

I'm working on a game where you fly around space in a ship, and I would like to draw a path showing your orbit. Do you have any tips?
by McDonald
Sat Jan 10, 2015 12:14 pm
 
Forum: How do I....?
Topic: How do I predict an orbiting object's trajectory and draw it
Replies: 14
Views: 1682

Return to advanced search