Forum

Narrowing findradius to an elipsoid cone

Discuss programming in the QuakeC language.

Moderator: InsideQC Admins

Narrowing findradius to an elipsoid cone

Postby Orion » Tue Oct 12, 2010 2:15 pm

Hey, is it possible to make an entity scan for stuff in a elipsoidal cone?
I know it's possible to make it find stuff in a cone with its base as a perfect circle, which uses a function similat to infront(), using the cosine of a specified angle.

But what about elipsoidal cones? Like, they're wider up-down, but narrower left-right.
User avatar
Orion
 
Posts: 476
Joined: Fri Jan 12, 2007 6:32 pm
Location: Brazil

Postby Error » Tue Oct 12, 2010 3:04 pm

look through the latest Gyro, it has cone shaped "forces"
User avatar
Error
InsideQC Staff
 
Posts: 865
Joined: Fri Nov 05, 2004 5:15 am
Location: VA, USA


Return to QuakeC Programming

Who is online

Users browsing this forum: No registered users and 1 guest