Last active
April 2, 2019 13:50
-
-
Save BlueMagnificent/55a2fcaa847197a6225c122b4d9da41e to your computer and use it in GitHub Desktop.
Javascript 3D Physics Snippet Zero
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>JS 3D Physics</title> | |
<style> | |
body { margin: 0; } | |
</style> | |
</head> | |
<body> | |
<script src="js/three.js"></script> | |
<script src="js/ammo.js"></script> | |
<script> | |
//variable declaration | |
//Ammojs Initialization | |
Ammo().then( start ) | |
function start(){ | |
//code goes here | |
} | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment