21 bool PhysxRaycastHit::
24 return (_hit.shape ==
nullptr);
33 nassertr_always(_hit.shape,
nullptr);
40 LPoint3f PhysxRaycastHit::
41 get_impact_pos()
const {
49 LVector3f PhysxRaycastHit::
50 get_impact_normal()
const {
58 float PhysxRaycastHit::
59 get_distance()
const {
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Abstract base class for shapes.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
static LVector3f nxVec3_to_vec3(const NxVec3 &v)
Converts from NxVec3 to LVector3f.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
static LPoint3f nxVec3_to_point3(const NxVec3 &p)
Converts from NxVec3 to LPoint3f.