Updates a ray with mode==PROJECTILE Reimplemented in AVR.Core.AVR_SolidRay. Definition at line 148 of file AVR_Ray.cs. 158 posl.Add(transform.position + dest - Vector3.up * (dist * dist) / (proj_velocity * proj_velocity));
160 // Check if we're within distance limitations. NOTE: We are only restricting distance in the direction of transform.forward, not up or down.
float proj_max_verts Max. amount of vertices to use for projectile motion ray Definition: AVR_Ray.cs:32 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 |