Table of Contents

Struct PhysicsHit

Namespace
PopcorningGuineaPig.Engine.Physics
Assembly
PopcorningGuineaPig.Engine.dll
public readonly struct PhysicsHit
Inherited Members

Constructors

PhysicsHit(bool, Vector3, Vector3, float, PhysicsBodyId)

public PhysicsHit(bool hit, Vector3 point, Vector3 normal, float fraction, PhysicsBodyId body)

Parameters

hit bool
point Vector3
normal Vector3
fraction float
body PhysicsBodyId

Fields

Body

public readonly PhysicsBodyId Body

Field Value

PhysicsBodyId

Fraction

public readonly float Fraction

Field Value

float

Hit

public readonly bool Hit

Field Value

bool

Normal

public readonly Vector3 Normal

Field Value

Vector3

Point

public readonly Vector3 Point

Field Value

Vector3