Returns the minimal distance to some polygon of the world's objects (have
to be colliders) from a particular position vector looking into a
specific direction.
Returns the minimal distance to some polygon of the world's objects (have
to be colliders) from a particular position vector looking into a
specific direction.
Creates a new Camera with default viewing direction (along the z-axis)
and position (at the origin) as well as default FOV (as configured, 1.25
is default).
Checks if a collision between "something" and an object would take place
if this "something" would move step units from its position into a given
direction.
Checks if a collision between "something" and an object would take place
if this "something" would move step units from its position into a given
direction.
Checks if a collision between "something" and an object would take place
if this "something" would move step units from its position into a given
direction.
When using the sphere-polygon collision detection for the camera, it may
be useful to use a lower sphere radius for sphere-edge-collisions to
ensure that the camera slides around corners in a more realistic way.
The maximum number in world units a polygon's corner and/or axis aligned
bounding box/octree-node (is used) may have from a position vector to be
taken into account as a potential collider in the collision detection
methods.
The number of units a position vector may be placed outside of a sector
and still be considered as part of it as far as collision detection is
concerned.