removal of cylinder hitvolumes? [was Soo...]

removal of cylinder hitvolumes? [was Soo...]

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

Post Reply
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

removal of cylinder hitvolumes? [was Soo...]

Post by smoth »

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.
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: removal of cylinder hitvolumes? [was Soo...]

Post by Beherith »

Read the comments. Cylinders remain, no more ellipsoid prisms.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: removal of cylinder hitvolumes? [was Soo...]

Post by smoth »

GIT wrote:coldet: drop support for cylinders and ellipsoids
Comments were made after I posted this thread.
User avatar
SanadaUjiosan
Conflict Terra Developer
Posts: 907
Joined: 21 Jan 2010, 06:21

Re: removal of cylinder hitvolumes? [was Soo...]

Post by SanadaUjiosan »

:(

after I made all of CT's cruisers ellipsoid...
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: removal of cylinder hitvolumes? [was Soo...]

Post by Forboding Angel »

Was it hell on calculations or something?
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: removal of cylinder hitvolumes? [was Soo...]

Post by jK »

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.
Google_Frog
Moderator
Posts: 2464
Joined: 12 Oct 2007, 09:24

Re: removal of cylinder hitvolumes? [was Soo...]

Post by Google_Frog »

I'd be happy with spheres and rectangular prisms if the AoE calculations end up making sense.
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: removal of cylinder hitvolumes? [was Soo...]

Post by Silentwings »

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?)
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: removal of cylinder hitvolumes? [was Soo...]

Post by jK »

It automatically transforms non-supported ones to either sphere, cylinders and/or boxes.
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: removal of cylinder hitvolumes? [was Soo...]

Post by Silentwings »

Thanks - but how to specify the cyclinder using the 'correct' parameters now? Just leave the third variable blank?
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: removal of cylinder hitvolumes? [was Soo...]

Post by jK »

no, the first should indicate the length iirc and the other two need to be equal.
Post Reply

Return to “Game Development”