Game Development Community

TGEA RC1 Bug: No wheel shadows on WheeledVehicle

by Tom Spilman · in Torque Game Engine Advanced · 02/09/2007 (5:15 pm) · 0 replies

The shadow projector code in sgShadowProjector::sgRenderShadowBuffer() properly deals with mounted images, but fails to consider the wheels on a WheeledVehicle which are not mounts.

Not sure what the best fix is here... either a special renderMountShadows() virtual that is overloaded by WheeledVehicle, or making sgShadowProjector::sgRenderShadowBuffer() WheeledVehicle aware.

Either way... it's a bug in TGEA RC1. ;)

About the author

Tom is a programmer and co-owner of Sickhead Games, LLC.