Humanoid Control for Unity v4
Loading...
Searching...
No Matches
Public Attributes | Properties | List of all members
Passer.Humanoid.HumanoidSpawnPoint Class Reference

Description

Specifies where a new Humanoid will spawn.

At the beginning of the scene, the humanoid in will be moved to this transform if it is free. The check whether the spawn point is free is determined by the center, radius and height parameters which define the capsule which is checked with the isFree function.

In the scene view, the capsule is visualized as an orange cylinder when the spawn point is selected:

Inheritance diagram for Passer.Humanoid.HumanoidSpawnPoint:
Passer.SpawnPoint

Public Attributes

Vector3 center = new Vector3(0, 0.9F, 0)
 The center of the capsule which is used to check whether the spawn point is free.
 
float radius = 0.3F
 The radius of the capsule which is used to check whether the spawn point is free.
 
float height = 1.8F
 The height of the capsule which is used to check whether the spawn point is free.
 

Properties

bool isFree [get]
 

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