removal of cylinder hitvolumes? [was Soo...]
Moderator: Moderators
removal of cylinder hitvolumes? [was Soo...]
So . .
no more cylinders?
Gotta ask, why no more cylinders? can we still rectangle hitbox? because wouldn't the issue still be here? Cylinder has always been used for humanoid figures.
no more cylinders?
Gotta ask, why no more cylinders? can we still rectangle hitbox? because wouldn't the issue still be here? Cylinder has always been used for humanoid figures.
Re: removal of cylinder hitvolumes? [was Soo...]
Read the comments. Cylinders remain, no more ellipsoid prisms.
Re: removal of cylinder hitvolumes? [was Soo...]
Comments were made after I posted this thread.GIT wrote:coldet: drop support for cylinders and ellipsoids
- SanadaUjiosan
- Conflict Terra Developer
- Posts: 907
- Joined: 21 Jan 2010, 06:21
Re: removal of cylinder hitvolumes? [was Soo...]

after I made all of CT's cruisers ellipsoid...
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: removal of cylinder hitvolumes? [was Soo...]
Was it hell on calculations or something?
Re: removal of cylinder hitvolumes? [was Soo...]
In case of ellipse-cylinder (xy-axis-scaled) it is solvable with medium code amount. In case of an ellipsoid it really is a pain in the ass.
Too bad boost's geometry library is far of being completed
I wonder if BulletPhysics has such functions.
PS: We don't need 100% accurate results, so I wonder how big the error is max if you use the revert-scaling-approach.
Too bad boost's geometry library is far of being completed

I wonder if BulletPhysics has such functions.
PS: We don't need 100% accurate results, so I wonder how big the error is max if you use the revert-scaling-approach.
- KingRaptor
- Zero-K Developer
- Posts: 838
- Joined: 14 Mar 2007, 03:44
-
- Moderator
- Posts: 2463
- Joined: 12 Oct 2007, 09:24
Re: removal of cylinder hitvolumes? [was Soo...]
I'd be happy with spheres and rectangular prisms if the AoE calculations end up making sense.
- Silentwings
- Moderator
- Posts: 3719
- Joined: 25 Oct 2008, 00:23
Re: removal of cylinder hitvolumes? [was Soo...]
How should we set collisionvolumescales for cylinders now?
(Since only cylinders with circular cross sections are allowed the collisionvolumescales needs only two parameters, whereas it used to need 3. So does it now just take two?)
(Since only cylinders with circular cross sections are allowed the collisionvolumescales needs only two parameters, whereas it used to need 3. So does it now just take two?)
Re: removal of cylinder hitvolumes? [was Soo...]
It automatically transforms non-supported ones to either sphere, cylinders and/or boxes.
- Silentwings
- Moderator
- Posts: 3719
- Joined: 25 Oct 2008, 00:23
Re: removal of cylinder hitvolumes? [was Soo...]
Thanks - but how to specify the cyclinder using the 'correct' parameters now? Just leave the third variable blank?
Re: removal of cylinder hitvolumes? [was Soo...]
no, the first should indicate the length iirc and the other two need to be equal.