CapsuleCollider

More information can be found in the Unity API Reference

Constructors

Constructor

Description

CapsuleCollider()

Members

Member

Description

attachedRigidbody

bounds

center

contactOffset

direction

enabled

gameObject

height

isTrigger

name

radius

tag

transform

Methods

Method

Description

ClosestPoint(position)

ClosestPointOnBounds(position)

CompareTag(tag)

GetHashCode()

Raycast(ray, hitInfo, maxDistance)

ToString()

Details

class CapsuleCollider
CapsuleCollider CapsuleCollider()
const Rigidbody attachedRigidbody
const Bounds bounds
Vector3 center
float contactOffset
int direction
bool enabled
const GameObject gameObject
float height
bool isTrigger
string name
float radius
string tag
const Transform transform
Vector3 ClosestPoint(Vector3 position)
Vector3 ClosestPointOnBounds(Vector3 position)
bool CompareTag(string tag)
int GetHashCode()
bool Raycast(Ray ray, RaycastHit hitInfo, float maxDistance)
string ToString()