panda3d.bullet.BulletClosestHitRayResult

class BulletClosestHitRayResult

Bases: btCollisionWorldClosestRayResultCallback

Inheritance diagram

Inheritance diagram of BulletClosestHitRayResult

__init__(param0: BulletClosestHitRayResult) → None
static empty() → BulletClosestHitRayResult

Named constructor intended to be used for asserts with have to return a concrete value.

Return type

BulletClosestHitRayResult

getFromPos() → LPoint3
Return type

LPoint3

getToPos() → LPoint3
Return type

LPoint3

hasHit() → bool
getNode() → PandaNode
Return type

PandaNode

getHitPos() → LPoint3
Return type

LPoint3

getHitNormal() → LVector3
Return type

LVector3

getHitFraction() → float
getShapePart() → int
getTriangleIndex() → int
property from_pos
Return type

LPoint3

property to_pos
Return type

LPoint3

property node
Return type

PandaNode

property hit_pos
Return type

LPoint3

property hit_normal
Return type

LVector3

property hit_fraction
Return type

float

property shape_part
Return type

int

property triangle_index
Return type

int