Class ControllerColliderHitWrapper
Wrapper for the data in a ControllerColliderHit
Implements
Namespace: nickmaltbie.OpenKCC.Utils
Assembly: cs.temp.dll.dll
Syntax
public class ControllerColliderHitWrapper : IControllerColliderHit
Constructors
ControllerColliderHitWrapper(ControllerColliderHit, Vector3)
Wrapper for the data in a ControllerColliderHit
Declaration
public ControllerColliderHitWrapper(ControllerColliderHit colliderHit, Vector3 moveVector)
Parameters
| Type | Name | Description |
|---|---|---|
| ControllerColliderHit | colliderHit | |
| Vector3 | moveVector |
Properties
collider
Wrapper for the data in a ControllerColliderHit
Declaration
public Collider collider { get; }
Property Value
| Type | Description |
|---|---|
| Collider |
gameObject
Wrapper for the data in a ControllerColliderHit
Declaration
public GameObject gameObject { get; }
Property Value
| Type | Description |
|---|---|
| GameObject |
moveDirection
Wrapper for the data in a ControllerColliderHit
Declaration
public Vector3 moveDirection { get; }
Property Value
| Type | Description |
|---|---|
| Vector3 |
moveLength
Wrapper for the data in a ControllerColliderHit
Declaration
public float moveLength { get; }
Property Value
| Type | Description |
|---|---|
| Single |
normal
Wrapper for the data in a ControllerColliderHit
Declaration
public Vector3 normal { get; }
Property Value
| Type | Description |
|---|---|
| Vector3 |
point
Wrapper for the data in a ControllerColliderHit
Declaration
public Vector3 point { get; }
Property Value
| Type | Description |
|---|---|
| Vector3 |
rigidbody
Wrapper for the data in a ControllerColliderHit
Declaration
public Rigidbody rigidbody { get; }
Property Value
| Type | Description |
|---|---|
| Rigidbody |
transform
Wrapper for the data in a ControllerColliderHit
Declaration
public Transform transform { get; }
Property Value
| Type | Description |
|---|---|
| Transform |