Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

hello2k1

What to put in a CPhysics object

This topic is 5715 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
Advertisement
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

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!