TileCollisionResult
The result of resolveAabbTileCollision(): the corrected position/velocity to apply this frame, and which side of the tile (if any) was resolved. When side = none, both position and velocity are returned exactly as the currentPosition/velocity inputs were - nothing to apply, safe to write back unconditionally either way.
Properties
position(BGE.Math.Vector)velocity(BGE.Math.Vector)side(BGE.TileCollisionSide)
Constructor
new TileCollisionResult(
position: BGE.Math.Vector,
velocity: BGE.Math.Vector,
side: BGE.TileCollisionSide,
): TileCollisionResultParameters
position(BGE.Math.Vector)velocity(BGE.Math.Vector)side(BGE.TileCollisionSide)