This video explains how to change the kart orientation away from the viewpoint orientation when pressing the s key or f key, and when you press the s key after the f key, and vice versa, how to return the kart orientation to the viewpoint orientation. The video also explains how to do this slowly using the sleep method of the Thread class.
My Uploaded Videos and Source Code (New Google Site):
https://sites.google.com/view/flying-java-3d/home
https://sites.google.com/view/flying-java-3d/home/page-2
https://sites.google.com/view/flying-java-3d/home/page-3
https://sites.google.com/view/flying-java-3d/home/page-4
Source code described in this video:
https://sites.google.com/view/flying-java-3d/videos/java-3d-how-to-change-the-kart-ori-away-from-the-viewpoint-ori
Source code described in the previous video,
"Java 3D: How to Put a Viewpoint Just Behind a Kart"
https://sites.google.com/view/flying-java-3d/videos/java-3d-how-to-put-a-viewpoint-just-behind-a-kart
Source code described in the video,
"Java 3D: How to Create a Mini Kart Game [Checkpoints]"
https://sites.google.com/view/flying-java-3d/videos/java-3d-how-to-create-a-mini-kart-game-checkpoints
Source code described in the video,
"Java 3D: How to Create a Mini Color Cube Game_2 Tracking Collision Order"
https://sites.google.com/view/flying-java-3d/videos/java-3d-how-to-create-a-mini-color-cube-game_2-tracking-collision-order
Source code described in the video,
"Java 3D: How to Create a Mini Color Cube Game_1 Positioning Color Cubes"
https://sites.google.com/view/flying-java-3d/videos/java-3d-how-to-create-a-mini-color-cube-game_1-positioning-color-cubes
Source code described in the video,
"Java 3D: How to Create a Mini Game_1_3 Which Ball Did a Penguin Touch ?"
Source Code 1 (Command Line)
Source Code 2 (Eclipse)
https://sites.google.com/view/flying-java-3d/videos/java-3d-how-to-create-a-mini-game_1_3-which-ball-did-a-penguin-touch
Source code described in the video,
"Java 3D: How to Create a Mini Game_1_4 Display Elapsed Time and GAME OVER"
Source Code 1 (Command Line)
Source Code 2 (Eclipse)
https://sites.google.com/view/flying-java-3d/videos/java-3d-how-to-create-a-mini-game_4-display-elapsed-time-and-game-over
Code I referred to for collision detection:
The CollisionDetectorGroup class posted to java3d-interest
http://www.mail-archive.com/java3d-interest@java.sun.com/msg29339.html
The SimpleCollision class
http://www.java2s.com/Code/Java/3D/TheuseoftheCollisionDetector.htm
The TickTockCollision class
http://www.java2s.com/Code/Java/3D/TickTockCollision.htm
3D model files I used:
1) 3D Pomeranian model (C) Creazilla Open-Source License by Michael
https://creazilla.com/nodes/3518148-pomeranian-dog-3d-model
License Terms:
https://creazilla.com/pages/11-creazilla-open-source-license
2) 3D Kart model (C) Creative Commons Attribution 3.0 by Messias
https://www.blendswap.com/blend/21389
License Terms:
https://www.blendswap.com/blend/21389
https://creativecommons.org/licenses/by/3.0/
https://www.blendswap.com/terms
Sound file I used:
1) Voices Created By ondoku3.com
https://ondoku3.com/en/
License Terms:
https://ondoku3.com/en/post/terms-licence/
Clipart I used:
1) Race track clipart (C) Creazilla Open-Source License by Creazilla
About the key movements in the KeyNavigatorBehavior class
Table 4-3 (P.4-28)
https://web.cs.ucla.edu/classes/cs269/Java3DTutorial/j3d_tutorial_ch4.pdf#
Types of licenses
https://en.wikipedia.org/wiki/Creative_Commons_license#Types_of_licenses
obj file format
https://en.wikipedia.org/wiki/Wavefront_.obj_file
To learn more:
About Java 3D:
Free online books:
Dr. Andrew Davison's "Killer Game Programming in Java":
https://fivedots.coe.psu.ac.th/~ad/jg
Dr. Andrew Davison's "Pro Java 6 3D Game Development":
https://fivedots.coe.psu.ac.th/~ad/jg2
Beginners guide:
http://www.java3d.org/tutorial.html
About Java:
https://www.youtube.com/watch?v=5u8rFbpdvds&index=2&list=PLFE2CE09D83EE3E28
https://www3.ntu.edu.sg/home/ehchua/programming/index.html
Java Language Specification:
http://docs.oracle.com/javase/specs/jls/se8/html/jls-4.html#jls-4.3.1
To use the KeyNavigatorBehavior class in my Java 3D program (Mykeynavbeh.java), I used the following code;
1) Part of code from BackgroundApp.java included in the source bundle
that accompanies Sun Microsystems' Java 3D API Tutorial
Copy of the above tutorial:
https://web.cs.ucla.edu/classes/cs269/Java3DTutorial/j3d_tutorial_ch0.pdf#
Change ch0.pdf to ch1.pdf-ch7.pdf in the address bar to display other chapters.
Example source code:
http://www.interactivemesh.org/off/download/java3d_tutorial_examples_src.zip
Java3D FAQ
https://jogamp.org/wiki/index.php/Java3D_FAQ
Java3D Forum
https://forum.jogamp.org/java3d-f3728156.html
Thank you for watching my video, and I appreciate the people who have posted wonderful free software, images, models, and Java 3D tutorials that allowed me to make this video.