panda3d.bullet.BulletAllHitsRayResult

class BulletAllHitsRayResult

Bases: btCollisionWorldAllHitsRayResultCallback

Inheritance diagram

Inheritance diagram of BulletAllHitsRayResult

static empty() → BulletAllHitsRayResult

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

Return type

BulletAllHitsRayResult

getFromPos() → LPoint3
Return type

LPoint3

getToPos() → LPoint3
Return type

LPoint3

hasHits() → bool
getClosestHitFraction() → float
getNumHits() → int
getHit(idx: int) → BulletRayHit
Return type

BulletRayHit

getHits() → list
property from_pos
Return type

LPoint3

property to_pos
Return type

LPoint3

property closest_hit_fraction
Return type

float

property hits
Return type

Sequence[BulletRayHit]