Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
Loading...
Searching...
No Matches
contact.c
Go to the documentation of this file.
1
5
9
sealed
class
Contact
10
{
11
private
void
Contact
() {}
12
private
void
~Contact
() {}
13
14
Physics
Physics1
;
15
Physics
Physics2
;
17
SurfaceProperties
Material1
;
19
SurfaceProperties
Material2
;
21
float
Impulse
;
23
int
ShapeIndex1
;
25
int
ShapeIndex2
;
27
vector
Normal
;
29
vector
Position
;
31
float
PenetrationDepth
;
32
33
float
RelativeNormalVelocityBefore
;
34
float
RelativeNormalVelocityAfter
;
35
vector
RelativeVelocityBefore
;
36
vector
RelativeVelocityAfter
;
37
39
vector
VelocityBefore1
;
41
vector
VelocityBefore2
;
43
vector
VelocityAfter1
;
45
vector
VelocityAfter2
;
46
47
proto native
vector
GetNormalImpulse
();
48
proto native
float
GetRelativeVelocityBefore
(
vector
vel);
49
proto native
float
GetRelativeVelocityAfter
(
vector
vel);
50
}
51
Contact::Normal
vector Normal
Collision axis at the contact point.
Definition
contact.c:27
Contact::VelocityBefore1
vector VelocityBefore1
Velocity of Object1 before collision (world space).
Definition
contact.c:39
Contact::RelativeVelocityAfter
vector RelativeVelocityAfter
Definition
contact.c:36
Contact::Material2
SurfaceProperties Material2
Surface properties of Object2.
Definition
contact.c:19
Contact::VelocityBefore2
vector VelocityBefore2
Velocity of Object2 before collision (world space).
Definition
contact.c:41
Contact::~Contact
void ~Contact()
Definition
contact.c:12
Contact::Position
vector Position
Position of the contact point (world space).
Definition
contact.c:29
Contact::RelativeVelocityBefore
vector RelativeVelocityBefore
Definition
contact.c:35
Contact::RelativeNormalVelocityAfter
float RelativeNormalVelocityAfter
Definition
contact.c:34
Contact::ShapeIndex1
int ShapeIndex1
Index of collider on Object1.
Definition
contact.c:23
Contact::Material1
SurfaceProperties Material1
Surface properties of Object1.
Definition
contact.c:17
Contact::Impulse
float Impulse
Impulse applied to resolve the collision.
Definition
contact.c:21
Contact::Physics2
Physics Physics2
Definition
contact.c:15
Contact::ShapeIndex2
int ShapeIndex2
Index of collider on Object2.
Definition
contact.c:25
Contact::PenetrationDepth
float PenetrationDepth
Penetration depth on Object1.
Definition
contact.c:31
Contact::VelocityAfter2
vector VelocityAfter2
Velocity of Object2 after collision (world space).
Definition
contact.c:45
Contact::Physics1
Physics Physics1
Definition
contact.c:14
Contact::GetRelativeVelocityAfter
proto native float GetRelativeVelocityAfter(vector vel)
Contact::VelocityAfter1
vector VelocityAfter1
Velocity of Object1 after collision (world space).
Definition
contact.c:43
Contact::RelativeNormalVelocityBefore
float RelativeNormalVelocityBefore
Definition
contact.c:33
Contact::GetRelativeVelocityBefore
proto native float GetRelativeVelocityBefore(vector vel)
Contact::Contact
void Contact()
Definition
contact.c:11
Contact::GetNormalImpulse
proto native vector GetNormalImpulse()
Physics
Definition
physics.c:17
SurfaceProperties
Definition
surfaceproperties.c:11
vector
Definition
enconvert.c:119
Games
Dayz
scripts
1_core
physics
contact.c
Generated by
1.17.0