SpawnPoint
A named place a scene can put the player when it starts - see BGE.SpawnPoints. Subclass it to keep more with each spawn, e.g. a four-way facing for a 2D sprite.
Properties
id(string)position(BGE.Math.Vector)heading(float) — Which way the player faces there, in radians. In a 3D game heading 0 faces -z (see
Constructor
new SpawnPoint(
id: string,
position: BGE.Math.Vector,
heading?: float,
): SpawnPointParameters
id(string)position(BGE.Math.Vector)heading(float, optional, default: "0.0") — radians