small medium large xlarge

23 Dec 2017, 17:11
Valerie Nadeau (1 post)

Hi. I am having a problem with chapter 15 and I think it is related to a similar problem in a previous chapter that I was unable to get to work. I believe it has something to do with the physijs … I get an error saying “phisjs.scene is not a valid constructor”. Here is my code so far:

23 Dec 2017, 20:11
Chris Strom (278 posts)

Heya! Your code wasn’t included in the post. Read this post to make sure that it is included correctly:

Some things that you might double-check:

  • Make sure the <script> tag that pulls in the physics code collection is at the top of the code (above the other <script> tags).
  • Make sure that the capitalization is correct for Physijs.Scene.

I’m happy to take a look at your code too!