AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkPhysics.RayCastFraction Property

Returns the fraction of the ray travelled before reaching a collision. 0 represents the start of the ray and 1.0 represents the end of the ray.

Syntax
Pascal
class property RayCastFraction: Single;

Only valid after calling one of the RayCast functions.

Copyright (c) 2012. All rights reserved.