Table of Contents

Wiki > TV3D65 Index

TVCollisionResult

DESCRIPTION

Contains information of a ray-collision test.

USAGE

VB.NET

'todo

C++

//todo

NOTES

  • TODO

METHODS

Method Description
GetCollisionActor Returns the Actor that was hit by the ray, NULL if no Actor was hit
GetCollisionBone Returns the bone of the Actor that was hit by the ray, NULL if no Actor was hit
GetCollisionDistance Returns the distance from the starting point to the collision point
GetCollisionFaceId Returns the ID of the face that was hit
GetCollisionGroup Returns the Group that was hit
GetCollisionImpact Returns the position of the hit
GetCollisionLandscape Returns the Landscape that was hit by the ray, NULL if no Landscape was hit
GetCollisionLandscapeChunk Returns the Landscape-chunk that was hit
GetCollisionMesh Returns the Mesh that was hit by the ray, NULL if no Mesh hit
GetCollisionNormal Returns the normal of the face that was hit
GetCollisionObjectType Returns the type of the object that was hit
GetCollisionTextureUV Returns the UV-coordinates in pixel-units ???
GetCollisionTriangleUV Returns the UV-coordinates at the hit position
GetIndex Returns the internal index
IsCollision Returns if something was hit
SetIndex Sets the internal index (use with caution)

 
tv3d65_doc/tvcollisionresult.txt · Last modified: 2013/11/22 13:31