Enabling line collision for projectiles?

Enabling line collision for projectiles?

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Enabling line collision for projectiles?

Post by KDR_11k »

Is there a way to use the continuous collision detection on select projectiles in SVN?
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Re: Enabling line collision for projectiles?

Post by Kloot »

Nope. The decision of which method to use lies with a unit's
hit-primitive instance (which takes its orders from Lua or the
unitdef), projectiles don't get to vote on it.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Re: Enabling line collision for projectiles?

Post by KDR_11k »

Damn, there's some projectiles I could use line collision on but others where the explode-outside-the-target thing is too much of a problem.
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Re: Enabling line collision for projectiles?

Post by Kloot »

e: r6248 has a fix for that problem.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Re: Enabling line collision for projectiles?

Post by KDR_11k »

Wheee, thanks.
Post Reply

Return to “Engine”