Rigid Body Dynamics demonstration
Thank you for showing an interest in this programme.
It is a piece of project work from University for the Games Physics
module that I studied. My chosen project was to simulate a mass-spring
system using Rigid Body Dynamics to achieve realistic rotational
motion in the final simulation. After researching spring systems
and harmonic motion, the forces calculated from
those equations apply torque forces to the Rigid Bodies. I used
the Euler Method to solve initial value problems at the cost of better
accuracy and stability. This is counteracted with the use of dampening
(friction) forces. There are some screenshots from the simulation
below. By popular demand, I have made available the executable version
as
well. Please be warned that there is currently no collision detection
performed and that can sometimes look rather weird on screen.
The system is entirely configurable; you can change the length and
strength of the spring, change the mass of the cubes and also disable
the rigid body dynamics.
Primary Download Site:
To download it from this site: Click Here.
Secondary Download Site:
To download it from my (UK) ISP webspace: Click Here.
Go to Top
|