GarageGames/Torque3D — pull request #35 by eightyeight (2012-09-26 03:40:31+00:00)
Title: Spawnsphere option to set spawned object's transform

This commit adds a flag to SpawnSphere that makes it set its spawned object's transform to its own transform upon spawning. This is helpful if you want to use SpawnSpheres for something other than the stock Player spawn scripts.

Uses a dynamic_cast since the spawn function shouldn't be called regularly enough to be a performance issue.