Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
RayTraceCheck
Syntax
C++
int RayTraceCheck(IFunctionHandler * pH, Vec3 src, Vec3 dst, ScriptHandle skipEntityId1, ScriptHandle skipEntityId2);
Parameters 
Description 
Vec3 src 
Ray segment origin point. 
Vec3 dst 
Ray segment end point. 
ScriptHandle skipEntityId1 
Entity id to skip when checking for intersection. 
ScriptHandle skipEntityId2 
Entity id to skip when checking for intersection.
 

Syntax: Physics.RayTraceCheck( Vec3 src,Vec3 dst,ScriptHandle skipEntityId1,ScriptHandle skipEntityId2 ) 

Check if ray segment from src to dst intersect anything.

Copyright (c) 2012. All rights reserved.