wiremod / wire-extras

Community Contributed Wire Extras Repository (formerly UWSVN). These are addons which may be of use to wiremodders but do not undergo the same level of critique that the official repos do.
Apache License 2.0
83 stars 67 forks source link

Added: Tracer direction aiming at position #84

Closed dvdvideo1234 closed 4 years ago

dvdvideo1234 commented 4 years ago

Added: Tracer direction aiming at position Renamed: Method Nudge to Move and displacements are not generally small

dvdvideo1234 commented 4 years ago

I've added a ray direction amendment to avoid creating a, b, c = a + b, just to ament direction with c. Before ray amendment you have to do:

D = ftrace:getDir()
D = D + vec(1,1,1)
ftrace:setDir(D)

After the ray direction amendment:

ftrace:rayAmend(1,1,1)