IsoRaycastHit#

struct in UltimateIsometricToolkit.Scripts.Physics

Description#

Struct that represents a raycast hit in isometric space

Variables#

Type Name Description
IsoCollider Collider Hit collider
float Distance Distance from Ray origin
Vector3 Normal Surface normal of hit collider face
Vector3 Point Hit point in isometric space
IsoRigidbody IsoRigidbody IsoRigidbody of hit collider (may be null)
IsoTransform IsoTransform IsoTransform of hit collider

Public static Functions#

public static IsoRaycastHit FromRaycastHit(RaycastHit hit)#

Converts a RaycastHit to the equivalent IsoRaycastHit