![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Protected Member Functions | |
| bool | VehicleIntersectsMyPath (notnull IEntity myVehicle, notnull IEntity otherVehicle) |
Static Protected Member Functions | |
| static bool | MovingPointSphereIntersectionTest (vector p, vector v, float r, out float outT) |
Definition at line 2 of file SCR_AIDangerReaction_Vehicle.c.
|
inlinestaticprotected |
Tests intersection of a linearly moving point and a sphere located at 0,0,0. In general there are up to two intersection moments in this problem. Thus the function returns true if there will be an intersection, but only if intersection time is positive (in future). If two intersections are detected in future, it returns the nearest one. p - starting position of point v - velocity of point r - radius of sphere outT - output, time of collision.
Definition at line 159 of file SCR_AIDangerReaction_Vehicle.c.
|
inlineprotected |
Definition at line 78 of file SCR_AIDangerReaction_Vehicle.c.