[ODE] Flat ended cylinder

Patrik Stellmann patrik at volleynet.de
Fri Jul 18 02:30:02 2003


This is a multi-part message in MIME format.
--------------020206020208070307050302
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Taking a closer look to the code I noticed that - for whatever reason - 
the value of -dInfinity is almost 0 (1.1449275104080437e-125 to be 
exact) so much greater than negative infinity. However I used my own 
TRealMin value instead and it works now.
But I noticed other bugs: The cylinder-cylinder collider (see 
attachment) where the barrels sunk in each other (also in both versions).
I also noticed that the cylinder-ray collider doesn't care about the end 
of the cylinder but seems to assume the cylinder has infinite length!?

Thx for your help!


--------------020206020208070307050302
Content-Type: image/jpeg;
 name="Barrels2.jpg"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
 filename="Barrels2.jpg"

/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDABALDA4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9
PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVGC8aGi9jQjhC
Y2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2P/wAAR
CAEHAJIDASIAAhEBAxEB/8QAGwAAAwEBAQEBAAAAAAAAAAAAAAMEAgEFBgf/xAA+EAACAQID
AwkGBAUDBQAAAAAAAQIDEQQSITFBURMUIjJSU2GR0QUVQoGhoiNDcbEGNWJzkjNy8SQ0gsHw
/8QAGgEAAgMBAQAAAAAAAAAAAAAAAAECAwQFBv/EACoRAAIBAwMDAwQDAQAAAAAAAAABAgMR
EgQTMSFBURRhcSIyM0IjQ4EF/9oADAMBAAIRAxEAPwD7Pko8EdVGPgTcsn8SDl7bzRjIy5Iq
5NLgFo77ErxL4mXin4BhIMkVNxW4XKoluEc6lwRx4m+5ElBickNdSL2yMucFvE8opcEaUIPb
NIljYjc3y8YnecwZhwpW64uUYbmFkwux7rwYt1luuIa4BaW4lgiOTG8pJhykkKy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Hek+Au7R1T43ADlWnLJJu2wVRdjdWonCSzO9hdFWSKavKOnoftkVK6WoutJ5W
uIx7NdgipJNFLN8WRVdCZu7KKzJtVImiifJZhaihRatrc7Kc5O7lpwJ6btF6X1GReZ2y2Lv1
Ob/evkrpNFMVZXJqKVtNpSl0TOdhmajeW5BW3lk5NkNd3uCCT+kmbvIohGOVa7iZq0h0XKy1
RdA5eq4RuUULXRYy99tgjh3UfRXzLTEF/ABqwqtrUfkADPR5ST3fQy3J7kcUv1NZmtwCEzjL
I20tgui7FLk5JprRiVTlB32oqqRb6o36OpGKcZOw1voE83ZMfdNNJk9VaMqOgn3RHVeoh7R8
qc5Poxb/AENQwc5PpdFfUkkzPUqRXLMUYuUXZ7x8KM0s9nlW8po0KVKNlZvxQ2+5yVi63Sxz
c/5M/cnppplK6ph0lfNF/I024rqv5FODR01qacu4mbsiGtK7LarT0/8AQh4Wc9bpCUWOdaCX
JEyyjh3OKsv1Yyng4QeaV5eFtCpSSVrWLoq3Jzq9RT6IXTwUFrKSk+G4e6SSsrC+UgjSqwex
kzOc5NeAGs39X0ABhKk+0mYlGS3jMrMuk29oCFrlO0jcXLfJA6TXEFBgB1xzb0LcKcZq+pqS
8RNTrLUQytRptbGDVLgxcY3XWNpLiMDMow8RThG+1lGRMFSXgAhKUVx8zSaf/Ix0r7Gg5J23
AAqTilotTVKvprbQ5KHFIRG0alrCGWctfZbyMud9yMxa4G014DEKlt6oLMvhHdEG4b0ACczA
b+HwAABTRx1bIAADsat9prPfYAABicmS1E8y0AAGOSaRq8toAAHYyb3nWpcUAAIEpLejrbS1
YAAC6lRLiS1JxbTSYAIZVC0oJphp4gAxApW2q51uO9AAAczQ4AAAB//Z
--------------020206020208070307050302
Content-Type: image/jpeg;
 name="Barrels1.jpg"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
 filename="Barrels1.jpg"

/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDABALDA4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9
PDk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5O7LSipqzZEYOGSzRmoLmZdWW9kOKe53CtOnxZEpXvdNC04OplHMctHe2U24wqZ
I56aHfuVLWFFgm37UugzSpwoq0YrxGlVVtEQ6ifyo6SSETqynuzJzjvRCq07lpONtDPLlOhZ
rtqWkgKbVtwEEml3xIk3nmAEkGTbvqFwAgktF5kSbaeYAAFKLauaxk3qwAAJKTACSAilYEAE
EksXq7gAANoZpGqSAAAskgsr6ABJBSQAAAf/2Q==
--------------020206020208070307050302--