Game Development Community

Fatter projectile

by c-level · in Torque Game Engine · 03/23/2007 (6:12 pm) · 1 replies

How can I make my crossbow projectile bigger, like shooting a basketball instead of a bullet? I don't care about the look of the projectile, I simply want to make it easy to hit the target. (Maybe bigger than a basketball...).

Choosing a big model instead of 'projectile.dts' didn't change it's hit area.
What's the easiest way?

-ty

#1
03/23/2007 (7:10 pm)
Projectile is hardcoded to only collide using its center, there's no collision detection except for the projectile position -> object collision mesh. Lookit Projectile::processTick for more information. Though it would be easy to bloat it and slow projectile code down if its not done properly. Hope that helps.