Jump to content

Amar

Members
  • Content Count

    6
  • Joined

  • Last visited

About Amar

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. thank you for your response "Sebavan" but still is not working, i am getting error to using your code core.js:1673 ERROR TypeError: Cannot read property 'scene' of undefined at onPointerDown (engine.service.ts:108) at HTMLCanvasElement.<anonymous> (engine.service.ts:147) at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:421) at Object.onInvokeTask (core.js:3811) at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:420) at Zone.push../node_modules/zone.js/dist/
  2. export class EngineService { private canvas: HTMLCanvasElement; private engine: BABYLON.Engine; private camera1: BABYLON.ArcRotateCamera; private scene: BABYLON.Scene; private light: BABYLON.Light; createScene(elementId: string): void { this.canvas = <HTMLCanvasElement>document.getElementById(elementId); this.engine = new BABYLON.Engine(this.canvas, true); this.scene = new BABYLON.Scene(this.engine); this.camera1 = new BABYLON.ArcRotateCamera("Camera", 0, 0, 10, new BABYLON.Vector3(0, 0, 0), this.scene);
  3. Hello I am new in babylon js, i need help that how can create babylon base project using angular 6 and how can integrate babylon js in angular 6. please help me out. Thank You
  4. Hello Here i am completely new in babylon js using angular 6. i need help from you guy that how can create base project like babylon js using angular 6 please Thank You
×
×
  • Create New...