Sign in to follow this  
bser

RayHelper

Recommended Posts

Hello, 

I have been trying to use the .RayHelper constructor, but I keep getting an error saying that the RayHelper is not a constructor. I suspect that I am missing files. The ones that I have in my index.html are: 

- babylon.custom.js

- babylon.objFileLoader.js

- babylon.objFileLoader.min.js

- hand.minified-1.2.js

- Oimo.js

How can I fix this error?

Share this post


Link to post
Share on other sites

Hi @bser, welcome to the forum.  Here is a playground demo that shows how to use the RayHelper... http://www.babylonjs-playground.com/#ZHDBJ#34

(lines 32-35)  Maybe this will help.

I don't think RayHelper is an extension, so it should work without adding any extra <script> elements to your project.  Grabbing a ZIP of that playground.... should work fine at-home.

RayHelper might be coded by our good friend @adam, but I'm not sure.  I'll ping him just in case he wants to monitor our conversation, here.

Good luck, Bser... keep us posted on your progress, thx.  We'll talk again soon.  Be well, party on.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.