Struct FrameContact#

Struct Documentation#

struct FrameContact#

Data for a contact between a pair of Frames.

Public Members

Karana::Core::ks_ptr<Karana::Frame::Frame> frame_1#

The first Frame involved in the contact.

Karana::Core::ks_ptr<Karana::Scene::CollisionScenePart> part_1#

The first CollisionScenePart involved in the contact.

Karana::Math::Vec3 location_1#

Contact location on the first Frame relative to the first Frame and expressed in the first frame

Karana::Math::Vec3 normal_1#

Contact normal expressed first Frame.

Karana::Core::ks_ptr<Karana::Frame::Frame> frame_2#

The second Frame involved in the contact.

Karana::Core::ks_ptr<Karana::Scene::CollisionScenePart> part_2#

The second CollisionScenePart involved in the contact.

Karana::Math::Vec3 location_2#

Contact location on the second Frame relative to the second Frame and expressed in the second frame

Karana::Math::Vec3 normal_2#

Contact normal expressed second Frame.

float penetration#

Maximum penetration distance.