UNPKG

planck-js

Version:

2D JavaScript physics engine for cross-platform HTML5 game development

31 lines (16 loc) 629 B
[Planck.js API Doc](../README.md) › [Globals](../globals.md) › [RayCastOutput](raycastoutput.md) # Interface: RayCastOutput ## Hierarchy * **RayCastOutput** ## Index ### Properties * [fraction](raycastoutput.md#fraction) * [normal](raycastoutput.md#normal) ## Properties ### fraction**fraction**: *number* *Defined in [collision/index.d.ts:16](https://github.com/shakiba/planck.js/blob/038d425/lib/collision/index.d.ts#L16)* ___ ### normal • **normal**: *[Vec2](../classes/vec2.md)* *Defined in [collision/index.d.ts:15](https://github.com/shakiba/planck.js/blob/038d425/lib/collision/index.d.ts#L15)*