panda3d.bullet.BulletAllHitsRayResult

from panda3d.bullet import BulletAllHitsRayResult
class BulletAllHitsRayResult

Bases: btCollisionWorldAllHitsRayResultCallback

Inheritance diagram

Inheritance diagram of BulletAllHitsRayResult

property closest_hit_fraction
Return type

float

static empty() → BulletAllHitsRayResult

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

Return type

BulletAllHitsRayResult

property from_pos
Return type

LPoint3

getClosestHitFraction() → float
getFromPos() → LPoint3
Return type

LPoint3

getHit(idx: int) → BulletRayHit
Return type

BulletRayHit

getHits() → list
getNumHits() → int
getToPos() → LPoint3
Return type

LPoint3

hasHits() → bool
property hits
Return type

Sequence[BulletRayHit]

property to_pos
Return type

LPoint3