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:
Heya! Your code wasn’t included in the post. Read this post to make sure that it is included correctly: https://forums.pragprog.com/forums/284/topics/13866.
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
- Make sure that the capitalization is correct for
I’m happy to take a look at your code too!