DayZ Scripts
PC Stable Documentation
 
Loading...
Searching...
No Matches
Contact Class Reference

Private Member Functions

private void Contact ()
 
private void ~Contact ()
 
proto native vector GetNormalImpulse ()
 
proto native float GetRelativeVelocityBefore (vector vel)
 
proto native float GetRelativeVelocityAfter (vector vel)
 
private void Contact ()
 
private void ~Contact ()
 
proto native vector GetNormalImpulse ()
 
proto native float GetRelativeVelocityBefore (vector vel)
 
proto native float GetRelativeVelocityAfter (vector vel)
 

Private Attributes

Physics Physics1
 
Physics Physics2
 
SurfaceProperties Material1
 Surface properties of Object1.
 
SurfaceProperties Material2
 Surface properties of Object2.
 
float Impulse
 Impulse applied to resolve the collision.
 
int ShapeIndex1
 Index of collider on Object1.
 
int ShapeIndex2
 Index of collider on Object2.
 
vector Normal
 Collision axis at the contact point.
 
vector Position
 Position of the contact point (world space)
 
float PenetrationDepth
 Penetration depth on Object1.
 
float RelativeNormalVelocityBefore
 
float RelativeNormalVelocityAfter
 
vector RelativeVelocityBefore
 
vector RelativeVelocityAfter
 
vector VelocityBefore1
 Velocity of Object1 before collision (world space)
 
vector VelocityBefore2
 Velocity of Object2 before collision (world space)
 
vector VelocityAfter1
 Velocity of Object1 after collision (world space)
 
vector VelocityAfter2
 Velocity of Object2 after collision (world space)
 

Detailed Description

Output structure for reporting collisions.

Constructor & Destructor Documentation

◆ Contact() [1/2]

private void Contact ( )
inlineprivate

◆ ~Contact() [1/2]

private void ~Contact ( )
inlineprivate

◆ Contact() [2/2]

private void Contact ( )
inlineprivate

◆ ~Contact() [2/2]

private void ~Contact ( )
inlineprivate

Member Function Documentation

◆ GetNormalImpulse() [1/2]

proto native vector GetNormalImpulse ( )
private

◆ GetNormalImpulse() [2/2]

proto native vector GetNormalImpulse ( )
private

◆ GetRelativeVelocityAfter() [1/2]

proto native float GetRelativeVelocityAfter ( vector  vel)
private

◆ GetRelativeVelocityAfter() [2/2]

proto native float GetRelativeVelocityAfter ( vector  vel)
private

◆ GetRelativeVelocityBefore() [1/2]

proto native float GetRelativeVelocityBefore ( vector  vel)
private

◆ GetRelativeVelocityBefore() [2/2]

proto native float GetRelativeVelocityBefore ( vector  vel)
private

Field Documentation

◆ Impulse

float Impulse
private

Impulse applied to resolve the collision.

Referenced by Car::OnContact().

◆ Material1

SurfaceProperties Material1
private

Surface properties of Object1.

◆ Material2

SurfaceProperties Material2
private

Surface properties of Object2.

◆ Normal

vector Normal
private

Collision axis at the contact point.

◆ PenetrationDepth

float PenetrationDepth
private

Penetration depth on Object1.

◆ Physics1

Physics Physics1
private

◆ Physics2

Physics Physics2
private

◆ Position

vector Position
private

Position of the contact point (world space)

Referenced by FireplaceBase::EOnContact(), EOnContact(), and EntityAI::GetImpactSurfaceTypeEx().

◆ RelativeNormalVelocityAfter

float RelativeNormalVelocityAfter
private

◆ RelativeNormalVelocityBefore

float RelativeNormalVelocityBefore
private

◆ RelativeVelocityAfter

vector RelativeVelocityAfter
private

◆ RelativeVelocityBefore

vector RelativeVelocityBefore
private

◆ ShapeIndex1

int ShapeIndex1
private

Index of collider on Object1.

◆ ShapeIndex2

int ShapeIndex2
private

Index of collider on Object2.

◆ VelocityAfter1

vector VelocityAfter1
private

Velocity of Object1 after collision (world space)

◆ VelocityAfter2

vector VelocityAfter2
private

Velocity of Object2 after collision (world space)

◆ VelocityBefore1

vector VelocityBefore1
private

Velocity of Object1 before collision (world space)

◆ VelocityBefore2

vector VelocityBefore2
private

Velocity of Object2 before collision (world space)


The documentation for this class was generated from the following file: