Updates a ray with mode==PROJECTILE Reimplemented from AVR.Core.AVR_Ray. Definition at line 56 of file AVR_SolidRay.cs. 67 posl.Add(transform.position + dest - Vector3.up * (dist * dist) / (proj_velocity * proj_velocity));
72 // Check if we're within distance limitations. NOTE: We are only restricting distance in the direction of RayForward, not up or down.
float max_horizontal_distance Will restrict the length of the ray along the xz-Plane to a given value. Definition: AVR_Ray.cs:45 int proj_resolution How many vertices per unit distance to use for projectile motion ray Definition: AVR_Ray.cs:28 bool checkHit(List< Vector3 > positions) Definition: AVR_SolidRay.cs:91 |