panda3d.bullet.BulletClosestHitRayResult

from panda3d.bullet import 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

property from_pos
Return type

LPoint3

getFromPos() → LPoint3
Return type

LPoint3

getHitFraction() → float
getHitNormal() → LVector3
Return type

LVector3

getHitPos() → LPoint3
Return type

LPoint3

getNode() → PandaNode
Return type

PandaNode

getShapePart() → int
getToPos() → LPoint3
Return type

LPoint3

getTriangleIndex() → int
hasHit() → bool
property hit_fraction
Return type

float

property hit_normal
Return type

LVector3

property hit_pos
Return type

LPoint3

property node
Return type

PandaNode

property shape_part
Return type

int

property to_pos
Return type

LPoint3

property triangle_index
Return type

int