class ContactsealedSource
Output structure for reporting collisions.
Constructors 2
private void Contact()private void ~Contact()Members 18
Physics Physics1Physics Physics2SurfaceProperties Material1Surface properties of Object1
SurfaceProperties Material2Surface properties of Object2
int ShapeIndex1Index of collider on Object1
int ShapeIndex2Index of collider on Object2
vector NormalCollision axis at the contact point
vector PositionPosition of the contact point (world space)
Referenced by EasterEgg.EOnContact(), Fireplace.EOnContact(), and InventoryItem.GetImpactSurfaceTypeEx()
float PenetrationDepthPenetration depth on Object1
float RelativeNormalVelocityBeforefloat RelativeNormalVelocityAftervector RelativeVelocityBeforevector RelativeVelocityAftervector VelocityBefore1Velocity of Object1 before collision (world space)
vector VelocityBefore2Velocity of Object2 before collision (world space)
vector VelocityAfter1Velocity of Object1 after collision (world space)
vector VelocityAfter2Velocity of Object2 after collision (world space)
Methods 3
proto native vector GetNormalImpulse()