Carleton University - School of Computer Science Honours Project
Summer 2023
3D Rigid Body Physics Engine – Collisions and Motion
Alberto Chavez
SCS Honours Project Image
ABSTRACT
The project is a JavaScript-based physics engine designed for simulating rigid body dynamics using the ThreeJS 3D graphics library. The engine’s capabilities include, generating dynamic visual simulations of linear and rotational motion in a 3D environment, accurately modelling external forces' effects on rigid bodies, collision detection and response. These capabilities are rooted in the principles of classical physics and rigid-body dynamics. The engine's design aims to emulate real-world interactions. The project's core functionality was tested through simulations featuring autonomous piston-powered cube robots. Additionally, a user-friendly interface was developed, enabling users to adjust simulation parameters. This comprehensive project aims to provide an accurate and intuitive physics engine for simulating dynamic interactions in 3D environments.