⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    Struct NeoCharacterControllerHit

    Inherited Members
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    Namespace: NeoCC
    Assembly: NeoFPS.dll
    Syntax
    public struct NeoCharacterControllerHit

    Constructors

    NeoCharacterControllerHit(INeoCharacterController, NeoCharacterCollisionFlags, Collider, Rigidbody, Transform, Vector3, Vector3, Vector3)

    Declaration
    public NeoCharacterControllerHit(INeoCharacterController controller, NeoCharacterCollisionFlags collisionFlags, Collider collider, Rigidbody rigidbody, Transform transform, Vector3 point, Vector3 normal, Vector3 moveDirection)
    Parameters
    Type Name Description
    INeoCharacterController controller
    NeoCharacterCollisionFlags collisionFlags
    Collider collider
    Rigidbody rigidbody
    Transform transform
    Vector3 point
    Vector3 normal
    Vector3 moveDirection

    Fields

    collider

    The collider that the character collided with.

    Declaration
    public Collider collider
    Field Value
    Type Description
    Collider

    collisionFlags

    The type of the collision.

    Declaration
    public NeoCharacterCollisionFlags collisionFlags
    Field Value
    Type Description
    NeoCharacterCollisionFlags

    controller

    The character controller that collided.

    Declaration
    public INeoCharacterController controller
    Field Value
    Type Description
    INeoCharacterController

    moveDirection

    The direction the character was moving when it collided.

    Declaration
    public Vector3 moveDirection
    Field Value
    Type Description
    Vector3

    normal

    The hit normal of the current collision.

    Declaration
    public Vector3 normal
    Field Value
    Type Description
    Vector3

    point

    The hit point of the current collision.

    Declaration
    public Vector3 point
    Field Value
    Type Description
    Vector3

    rigidbody

    The rigidbody attached to the object the character collided with (can be null).

    Declaration
    public Rigidbody rigidbody
    Field Value
    Type Description
    Rigidbody

    transform

    The transform of the object the character collided with.

    Declaration
    public Transform transform
    Field Value
    Type Description
    Transform
    Back to top Copyright © 2019 Yondernauts Game Studios Ltd
    Generated with DocFX