21 Commits

Author SHA1 Message Date
josh
816e04f68f supported setting/getting a position/rotation for ODE objects with neither a body nor a geometry so that they can still be drawn in a certain orientation even if they do not participate in physics at all
git-svn-id: svn://anubis/misc/OdeWorld@182 bd8a9e45-a331-0410-811e-c64571078777
2009-10-17 22:21:49 +00:00
josh
24774bfe34 allowed OdeWorld::Object objects to be initialized with an optional scale param
git-svn-id: svn://anubis/misc/OdeWorld@171 bd8a9e45-a331-0410-811e-c64571078777
2009-10-12 21:29:32 +00:00
josh
e9d8872826 added a destructor to OdeWorld::Object to clean up the ODE body and geometries
git-svn-id: svn://anubis/misc/OdeWorld@170 bd8a9e45-a331-0410-811e-c64571078777
2009-10-12 15:39:38 +00:00
josh
8f95a9fed4 setting mass on the body after loading all components;
translating mass so the center of mass is at the origin for ODE;
when modeling make sure models have their COM at the origin or they may behave strangely!

git-svn-id: svn://anubis/misc/OdeWorld@169 bd8a9e45-a331-0410-811e-c64571078777
2009-10-12 13:56:47 +00:00
josh
023e06a8d0 refactoring for object cloning
git-svn-id: svn://anubis/misc/OdeWorld@167 bd8a9e45-a331-0410-811e-c64571078777
2009-10-11 14:32:39 +00:00
josh
0496353916 fixed bug to initialize m_body to 0 in OdeWorld::Object
git-svn-id: svn://anubis/misc/OdeWorld@163 bd8a9e45-a331-0410-811e-c64571078777
2009-10-09 03:00:51 +00:00
josh
ccb6708633 added createObject() factory method, get position/rotation functions for Objects
git-svn-id: svn://anubis/misc/OdeWorld@162 bd8a9e45-a331-0410-811e-c64571078777
2009-10-08 04:11:43 +00:00
josh
3c6d089a47 refactored geometry addition classes into OdeWorld::Object
git-svn-id: svn://anubis/misc/OdeWorld@161 bd8a9e45-a331-0410-811e-c64571078777
2009-10-08 03:50:33 +00:00
josh
71b14157d0 migrating some Engine::Object functionality to OdeWorld::Object
git-svn-id: svn://anubis/misc/OdeWorld@160 bd8a9e45-a331-0410-811e-c64571078777
2009-10-08 02:38:32 +00:00
josh
acb7c2ea40 added pushTransform(), fixed gravity to -Z axis by default
git-svn-id: svn://anubis/misc/OdeWorld@158 bd8a9e45-a331-0410-811e-c64571078777
2009-10-05 20:02:25 +00:00
josh
8b21df8af1 renamed worldStep() to step()
git-svn-id: svn://anubis/misc/OdeWorld@157 bd8a9e45-a331-0410-811e-c64571078777
2009-10-05 19:06:23 +00:00
josh
6a6ad94c71 added body parameter to loadPhy()
git-svn-id: svn://anubis/misc/OdeWorld@156 bd8a9e45-a331-0410-811e-c64571078777
2009-10-01 03:21:04 +00:00
josh
834b846755 removed placeable parameter to setupGeom as it is only called with placeable objects
git-svn-id: svn://anubis/misc/OdeWorld@153 bd8a9e45-a331-0410-811e-c64571078777
2009-09-29 02:22:52 +00:00
josh
e56b943003 setting up mass and rotation in setupGeom()
git-svn-id: svn://anubis/misc/OdeWorld@152 bd8a9e45-a331-0410-811e-c64571078777
2009-09-29 02:10:15 +00:00
josh
925140f3fb replaced setupBody() with setupGeom()
git-svn-id: svn://anubis/misc/OdeWorld@151 bd8a9e45-a331-0410-811e-c64571078777
2009-09-28 02:32:39 +00:00
josh
a60a729b49 filling out the add*() functions more
git-svn-id: svn://anubis/misc/OdeWorld@150 bd8a9e45-a331-0410-811e-c64571078777
2009-09-28 02:24:28 +00:00
josh
d234e0147f added skeleton add{Cube,Sphere,Cylinder,Plane} methods to OdeWorld
git-svn-id: svn://anubis/misc/OdeWorld@149 bd8a9e45-a331-0410-811e-c64571078777
2009-09-28 01:32:51 +00:00
josh
aed3841f1e working on OdeWorld::loadPhy()
git-svn-id: svn://anubis/misc/OdeWorld@145 bd8a9e45-a331-0410-811e-c64571078777
2009-09-27 22:47:05 +00:00
josh
91517f2931 added collide callback to OdeWorld
git-svn-id: svn://anubis/misc/OdeWorld@144 bd8a9e45-a331-0410-811e-c64571078777
2009-09-27 22:02:43 +00:00
josh
4a1ad7b56c added space and joint group
git-svn-id: svn://anubis/misc/OdeWorld@142 bd8a9e45-a331-0410-811e-c64571078777
2009-09-26 17:10:10 +00:00
josh
754f83e639 initial revision
git-svn-id: svn://anubis/misc/OdeWorld@141 bd8a9e45-a331-0410-811e-c64571078777
2009-09-26 16:53:08 +00:00