Game Development Community

"Volume" brushes?

by Danner Jones · in Torque Game Engine · 11/20/2003 (1:01 pm) · 4 replies

Does the engine support the concept of a "volume" brush? I get the terminology from the Lithtech engine where a brush is marked as a Volume brush with special properties. Notably, the brush is not solid but indicates an area that affects the player in some way.

For instance, a stream of water would be a volume brush as the player can enter the water. While inside the brush, the player acts as if they're in water (swimming, etc.).

Lava would be another volume, as would be a room with low gravity.

I know there's a water block, but this would be a little more generic.

Thanks,
Nerseus

#1
11/20/2003 (1:07 pm)
I would say the engine supports the "concept." For example, the forcefield brush (which was in T2 and has now been removed).
#2
11/20/2003 (1:09 pm)
Would there be another recommended way of handling this? For now I would assuming using some kind of collision with a trigger to change the player's state would work, but I didn't know if there was a more "built-in" way of doing this.

Nerseus
#3
11/20/2003 (1:33 pm)
Search for "PhysicalZone" within the Engine. It does 'sort of' what you are looking for. You could probably modify/extend this to do what you want.
#4
11/20/2003 (1:38 pm)
The waterblock itself is another place to look