What to put in a CPhysics object

Started by
1 comment, last by hello2k1 21 years ago
The CPhysObj class will be the root of many other more advanced physics classes (eg. CRagdoll, CCloth, etc), but most objects in the average game will have to use the items in this class. I''m thinking I should put in: 1) Constant velocity 2) Timed velocity 3) Constant acceleration 4) Timed acceleration Anything else you guys thing I should add to my basic class? I''m thinking about friction and angular velocity / acceleration... but I''m not sure how common it is to use those in games. I''m also thinking about adding weight / forces applied.. but I might save that for a higher level object.
------------------------------There are 10 types of people in this world, those who know binary, and those who don't.
Advertisement
Anyone?
------------------------------There are 10 types of people in this world, those who know binary, and those who don't.
What do you mean by "timed velocity"? And in general, a good class hierarchy is a short one. Don''t put too many levels.

Cédric

This topic is closed to new replies.

Advertisement