Character Controller Flashcards

1
Q

What is the Character Controller used for?

A

The Character Controller is mainly used for third person or first person player control that does not make use of Rigidbody physics

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Properties of the Character Controller

A

Slope Limit. Limits the collider to only climb slopes that are less steep, in degrees, than the indicated value
StepOffset. The character will step up a stair only if it is closer to the ground than the indicated value. This should not be greater than the Character Controllers height or it will generate an error.
Skin Width. Two collider can penetrate each other as deep as their Skin Width. Larger Skin Widths reduce jitter. Low Skin Width can cause the character to get stuck. A good setting is to make this value 10% if the radius
Min move distance. If the Character tries to move below the indicated value, it will not move at all. This can be used to reduce jitter. In most situations this value should be left at 0
Radius. Length of the Capsule Colliers radius. The width of the collider
Height. The characters capsule collider height is. Changing this will scale the collider along the Y axie in both positive and negative directions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

The Character Controller does not react to forces on its own and it does not automatically push rigidbodies away

A

That is true

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

You can apply forces to any object that it collides with via the OnCharacterControllerHit() function through scripting to make the Character Controller push Rigidbodies or objects

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

If you want your player to be affected by physics what should you use instead of the Character Controller

A

The Rigidbody function is better for physics

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

It is recommended to always use around 2 meters for a human like Character and the width and height can be modified to fit your characters mesh

A

That is true

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

The Center of the Capsule can be modified in case your pivot point is not at the expect center of the Character

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Step offset should be around 0.1 and 0.4 for a 2 meter sized human as this can affect your character too

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Slope limit should not be too small. Often using a value of 90 degrees works best.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Can the Character Controller climb up walls

A

No it cannot due to the Capsule shape

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is one of the most critical properties

A

The Skin Width
It is critical to get it right when tuning your character controller.
If you get stuck it is most likely because your skin width is too small

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What does Skin Width do

A

Skin Width will let objects slightly penetrate the controller but it removes jitter and prevents it from getting stuck
It is good practice to keep your skin width at least greater than 0. 01 and more than 10 percent of the radius

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the recommended min move distance

A

The recommended min move distance is 0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Character Controller tips and hints

A

Adjust your skin width if your character is getting stuck frequently
The character controller can affect objects using physics if you write your own scripts
The Character Controller can not be affected by objects through physics
Changing the character controller properties in the inspector will recreate the

How well did you know this?
1
Not at all
2
3
4
5
Perfectly