Skip to main content

Ricochet3DCollisionContext

@zylem/game-lib


@zylem/game-lib / behavior / Ricochet3DCollisionContext

Interface: Ricochet3DCollisionContext

Defined in: node_modules/.pnpm/@zylem+behaviors@0.8.9_@types+react@19.3.0_react@19.3.0_three@0.185.1/node_modules/@zylem/behaviors/dist/ricochet-3d.d.ts:21

Properties​

contact​

contact: object

Defined in: node_modules/.pnpm/@zylem+behaviors@0.8.9_@types+react@19.3.0_react@19.3.0_three@0.185.1/node_modules/@zylem/behaviors/dist/ricochet-3d.d.ts:29

normal?​

optional normal?: object

normal.x​

x: number

normal.y​

y: number

normal.z​

z: number

position?​

optional position?: object

position.x​

x: number

position.y​

y: number

position.z​

z: number


entity?​

optional entity?: BaseEntityInterface

Defined in: node_modules/.pnpm/@zylem+behaviors@0.8.9_@types+react@19.3.0_react@19.3.0_three@0.185.1/node_modules/@zylem/behaviors/dist/ricochet-3d.d.ts:22


otherEntity?​

optional otherEntity?: BaseEntityInterface

Defined in: node_modules/.pnpm/@zylem+behaviors@0.8.9_@types+react@19.3.0_react@19.3.0_three@0.185.1/node_modules/@zylem/behaviors/dist/ricochet-3d.d.ts:23


otherPosition?​

optional otherPosition?: object

Defined in: node_modules/.pnpm/@zylem+behaviors@0.8.9_@types+react@19.3.0_react@19.3.0_three@0.185.1/node_modules/@zylem/behaviors/dist/ricochet-3d.d.ts:46

x​

x: number

y​

y: number

z​

z: number


otherSize?​

optional otherSize?: object

Defined in: node_modules/.pnpm/@zylem+behaviors@0.8.9_@types+react@19.3.0_react@19.3.0_three@0.185.1/node_modules/@zylem/behaviors/dist/ricochet-3d.d.ts:51

x​

x: number

y​

y: number

z​

z: number


selfPosition?​

optional selfPosition?: object

Defined in: node_modules/.pnpm/@zylem+behaviors@0.8.9_@types+react@19.3.0_react@19.3.0_three@0.185.1/node_modules/@zylem/behaviors/dist/ricochet-3d.d.ts:41

x​

x: number

y​

y: number

z​

z: number


selfVelocity?​

optional selfVelocity?: object

Defined in: node_modules/.pnpm/@zylem+behaviors@0.8.9_@types+react@19.3.0_react@19.3.0_three@0.185.1/node_modules/@zylem/behaviors/dist/ricochet-3d.d.ts:24

x​

x: number

y​

y: number

z​

z: number