findCharacterCenter
findCharacterCenter(
character,out):Vector3|undefined
Writes into out the centre of character’s body, its feet plus half
its capsule’s height, and returns it: where a shot’s origin and reach
are measured from, and what a mark or an effect centres on. Undefined
for a character with no place. As three.js’s getCenter and Unity’s
Bounds.center.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
character |
Entity |
out |
Vector3 |
Returns
Section titled “Returns”Vector3 | undefined