Beam Weapon Visuals - Travel time

    Joined
    Nov 30, 2015
    Messages
    855
    Reaction score
    75
    Bending beams sounds like it would be more difficult to calculate. You'd need some sort of rope physics or something to beams, instead of them just being a sprite.
    Simple. Make beams a chain of small segments(length based on lag levels, more lag less segments), the starting segment goes forward and slowly curves towards the target, cloning it's self each time it moves. Clones slowly fade over 1 second.

    Or is that literarily rope physics?
     

    Lecic

    Convicted Lancake Abuser
    Joined
    Apr 14, 2013
    Messages
    5,113
    Reaction score
    1,229
    • Thinking Positive Gold
    • Purchased!
    • Legacy Citizen 12
    Simple. Make beams a chain of small segments(length based on lag levels, more lag less segments), the starting segment goes forward and slowly curves towards the target, cloning it's self each time it moves. Clones slowly fade over 1 second.

    Or is that literarily rope physics?
    That's essentially rope physics, just with very large segments that fade out over time.
     

    NeonSturm

    StormMaker
    Joined
    Dec 31, 2013
    Messages
    5,109
    Reaction score
    617
    • Wired for Logic
    • Thinking Positive
    • Legacy Citizen 5
    Rope physics are about force waves that travel along the rope.
    They can have different wavelengths and amplitudes but wavelength+amplitude may change due to friction and interference.
    Experiment:
    1. You need a heavy rope because of air friction. As cross-section grows faster than diameter, bigger ropes are better.
    2. Put one end at a door handle or fix it to the fence.
    3. Swing the rope to produce "standing waves" with a wavelength of rope-length/2 or rope-length/3