aboutsummaryrefslogtreecommitdiff
path: root/examples/physics_basic_rigidbody.c
AgeCommit message (Collapse)Author
2016-08-15Updated compiling notesRay
2016-06-14Fixed little bug in physac examplevictorfisac
2016-06-14Fixed spacing and set UpdatePhysics() function as static...victorfisac
and remove static from PhysicsThread().
2016-06-14Add pthread external library to source...victorfisac
and add instructions in physac examples to run it successful.
2016-06-14Fixed bug in delta time calculation...victorfisac
and added PHYSAC_NO_THREADS define. Improved physac example drawing frames per second in screen.
2016-06-12Updated physics examples with new module changesvictorfisac
2016-06-11Update physac examples with fixed timestep methodvictorfisac
2016-06-09Updated examples for new physac header-onlyraysan5
2016-05-20Review struct typedef to avoid pointers for usersraysan5
2016-03-23Physac redesign (3/3)victorfisac
Finally, physics update is handled in main thread using steps to get accuracy in collisions detection instead of moving it to a new thread. Examples are finished as simple and clear as I could. Finally, physac module is MORE simpler than in the first version, calculation everything by the same way for both types of physic objects. I tryed to add rotated physics a couple of times but I didn't get anything good to get a base to improve it. Maybe for the next version... No bugs or strange behaviours found during testing.
2016-03-16Updated and improved physac examplesvictorfisac
2016-03-05Redesigned physics module (IN PROGRESS)victorfisac
physac modules is being redesigned. Physics base behaviour is done and it is composed by three steps: apply physics, resolve collisions and fix overlapping. A basic example is currently in progress. The next steps are try to add torque and unoriented physic collisions and implement physics basic functions to add forces. Rigidbody grounding state is automatically calculated and has a perfect result. Rigidbodies interacts well with each others. To achieve physics accuracy, UpdatePhysics() is called a number of times per frame. In a future, it should be changed to another thread and call it without any target frame restriction. Basic physics example has been redone (not finished) using the new module functions. Forces examples will be redone so I removed it from branch.
2016-02-13Reviewed physics moduleraysan5
A deeper revision required, not clear enough for the user Key: Create a PhysicObjects pool
2016-01-20Some formatting tweaksraysan5
2016-01-03Fixed physics basic example example namevictorfisac
2015-12-21Added physics engine-module and examplevictorfisac
- Added new physics engine-module with four new data types: Physics, Transform, Rigidbody and Collider. This library contains functions to apply physics calculations to a position vector calculating collisions automatically. - Fixed some writing mistakes of lighting module.