Jump to content

Search the Community

Showing results for tags 'scene.pick'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 2 results

  1. Hey, Is scene.pick with fastcheck broken? i want to increase the picking area of some meshes, without having to make boxes around them or anything like that. so i recalled there's a fastcheck option in the scene.pick function, which is used to pick boundingboxes, but now i can't seem to get it working; If you click on skull mesh, it is picked, if you click on boundingbox without hitting the actual mesh, it isn't picked. http://www.babylonjs-playground.com/#1PJYD6#3 Any ideas?
  2. Help again I have created a simple scene with a single cylinder. The following code runs fine window.addEventListener("click", function () { // We try to pick an object var pickResult = scene.pick(scene.pointerX, scene.pointerY); console.log("HIT "+ pickResult.pickedPoint); }); However, if I import a mesh into the scene with BABYLON.SceneLoader.ImportMesh the window.addEventListener returns a null , that is cannot hit the object. Any clues?
×
×
  • Create New...