Class OnCollisionEventArgs
Inherited Members
Namespace: Slipe.Client.Vehicles.Events
Assembly: SlipeClient.dll
Syntax
public class OnCollisionEventArgs
Properties
| Improve this Doc View SourceElement
The element with which the vehicle colided
Declaration
public PhysicalElement Element { get; }
Property Value
Type | Description |
---|---|
PhysicalElement |
Force
The force of the collision
Declaration
public float Force { get; }
Property Value
Type | Description |
---|---|
Single |
Model
The model of the collided element
Declaration
public int Model { get; }
Property Value
Type | Description |
---|---|
Int32 |
Normal
The normal with which was collided
Declaration
public Vector3 Normal { get; }
Property Value
Type | Description |
---|---|
Vector3 |
Part
The part of the element if any
Declaration
public Part Part { get; }
Property Value
Type | Description |
---|---|
Part |
Position
The world position of the collision
Declaration
public Vector3 Position { get; }
Property Value
Type | Description |
---|---|
Vector3 |