Character Controller Pro  1.3.8
A 2D/3D character controller asset for the Unity Engine.
Lightbug.CharacterControllerPro.Core.CharacterBody Class Reference

This class contains all the character body properties, such as width, height, body shape, physics, etc. More...

Inheritance diagram for Lightbug.CharacterControllerPro.Core.CharacterBody:

Public Attributes

bool Is2D => is2D
 Returns true if the character is governed by 2D Physics, false otherwise. More...
 
float Mass => mass
 Gets the mass of the character. More...
 
Vector2 BodySize => bodySize
 Gets the body size of the character (width and height). More...
 

Properties

RigidbodyComponent RigidbodyComponent [get]
 Gets the RigidbodyComponent component associated to the character. More...
 
ColliderComponent ColliderComponent [get]
 Gets the ColliderComponent component associated to the character. More...
 

Detailed Description

This class contains all the character body properties, such as width, height, body shape, physics, etc.

Member Data Documentation

◆ BodySize

Vector2 Lightbug.CharacterControllerPro.Core.CharacterBody.BodySize => bodySize

Gets the body size of the character (width and height).

◆ Is2D

bool Lightbug.CharacterControllerPro.Core.CharacterBody.Is2D => is2D

Returns true if the character is governed by 2D Physics, false otherwise.

◆ Mass

float Lightbug.CharacterControllerPro.Core.CharacterBody.Mass => mass

Gets the mass of the character.

Property Documentation

◆ ColliderComponent

ColliderComponent Lightbug.CharacterControllerPro.Core.CharacterBody.ColliderComponent
get

Gets the ColliderComponent component associated to the character.

◆ RigidbodyComponent

RigidbodyComponent Lightbug.CharacterControllerPro.Core.CharacterBody.RigidbodyComponent
get

Gets the RigidbodyComponent component associated to the character.


The documentation for this class was generated from the following file: