jerome Posted June 5, 2015 Share Posted June 5, 2015 Final code : http://www.babylonjs-playground.com/#1HH4OJ#4 the code has been cleaned up and commented so it can be used as a tutorial (I hope) Use it if you want for BJS 2.1 features examples It uses :Follow Cam (don't know if it wasn't yet in 2.0)freezeWorldMatrixmesh BACKSIDE for skybox, instead of backfaceculling trickgeneric Curve3 objects + hermite spline Curve3extrusionpath3D objectrotationFromAxis method to compute wagon live rotation simon_bg, Vousk-prod., MrVR and 3 others 6 Quote Link to comment Share on other sites More sharing options...
davrous Posted June 5, 2015 Share Posted June 5, 2015 Awesome sample! Thanks for building it David Quote Link to comment Share on other sites More sharing options...
jerome Posted June 5, 2015 Author Share Posted June 5, 2015 de nada del sol(spanish cow, I know) Quote Link to comment Share on other sites More sharing options...
jerome Posted June 5, 2015 Author Share Posted June 5, 2015 BTW, web resources (images for textures) are BJS ones or free ones I got on the Web (can't remember where)I put them on my CORS enabled website to develop.You can of course copy them on BJS sites if you need and thus change URL in the code it lacks some sounds : wagon running on rails in turns and loops or wind in the ears while descending Quote Link to comment Share on other sites More sharing options...
RaananW Posted June 5, 2015 Share Posted June 5, 2015 that's really cool :-) Quote Link to comment Share on other sites More sharing options...
jerome Posted June 5, 2015 Author Share Posted June 5, 2015 Just added a random follow cam radius each round so the point of view changes infinitely (less boring) : http://www.babylonjs-playground.com/#1HH4OJ#5 qqdarren 1 Quote Link to comment Share on other sites More sharing options...
iiceman Posted June 5, 2015 Share Posted June 5, 2015 Awesome! How can I switch to first person view? qqdarren 1 Quote Link to comment Share on other sites More sharing options...
jerome Posted June 5, 2015 Author Share Posted June 5, 2015 aarff... you can'tbut I can easily do another PG with the FPV if you wantthis one was done in purpose to feature new BJS 2.1 features. Quote Link to comment Share on other sites More sharing options...
Temechon Posted June 5, 2015 Share Posted June 5, 2015 Golden rule : THIS IS NEVER FINISHED xD jerome 1 Quote Link to comment Share on other sites More sharing options...
jerome Posted June 5, 2015 Author Share Posted June 5, 2015 tromordelol Quote Link to comment Share on other sites More sharing options...
gryff Posted June 5, 2015 Share Posted June 5, 2015 Another great creation jerome . Like many of your creations, there is a certain hypnotic effect. By a strange coincidence, I was reading yesterday about a major accident at the roller coaster at Alton Towers in the UK. Life meeting virtual reality? cheers, gryff jerome 1 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted June 5, 2015 Share Posted June 5, 2015 Excellent man!!! I love it Quote Link to comment Share on other sites More sharing options...
JohnK Posted June 5, 2015 Share Posted June 5, 2015 Brilliant. jerome 1 Quote Link to comment Share on other sites More sharing options...
jerome Posted June 5, 2015 Author Share Posted June 5, 2015 ooopsssso many typo and Hangleesh eerrorS in the code comments....too bad, I feel too lazy to fix them Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.