Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1001 Bytes

README.md

File metadata and controls

30 lines (23 loc) · 1001 Bytes

Drag initially a project to learn BabylonJS. The idea was to reproduce something similar to the sample project explaning how AABB collision works from Mozilla. The first step of the project was to drag a mesh around a scene. But developing this feature was, if not difficult, at least more complex than I initially thought. The project is now about showing what are the maths behind dragging objects.

How to get started

You will need NodeJS or Docker.

Developing

Command from the root folder of the project.

node -v

v21.6.1

# install dependency
npm install
# start the application
npm run start

Docker

Command from the root folder of the project.

docker build . --tag {your_tag}
docker run --publish 8080:8080 {your_tag}

Access at http://localhost:8080