|
From: Daniel G. <sp...@ho...> - 2004-01-27 10:25:45
|
You could use GDI to draw shapes and lines. For collision detection put a bounding box around the circle and for the corners perhaps put a conditional statement in that lets another body pass into the bounding box by X pixels but no more. It depends how detailed you are going to do it. Try looking up modelling a kettle on the web - many physics students create animations that bounce a kettle around inside a box. This is because it is an odd shape and is difficult to do, but it is a famous example. >From: "Brian Wallace" <nig...@ho...> >To: dev...@li... >Subject: [Dev-C++] Using namespace std >Date: Sun, 25 Jan 2004 13:19:46 -0500 > _________________________________________________________________ Sign-up for a FREE BT Broadband connection today! http://www.msn.co.uk/specials/btbroadband |