Game Development Community

tank from Vehicle vs tank from ShapeBase

by Javier Canon · in Combat Starter Kit · 11/22/2009 (11:53 pm) · 2 replies

i found these to class of tanks in source code, what is the difference?, what its that the kit uses?

i need a light (memory, networking etc...) version, because i want many tanks at the same time...

#1
12/04/2009 (12:17 pm)
The tank is made up of two parts :

1. the base that has the wheels and allows you to drive it around (vehicle class)

2. The turret that moves and fires projectiles (shapebase)

When creating the tank in your game, you use script calls to "attach" the turret to the base, creating the complete tank. Does that make sense?
#2
12/10/2012 (6:39 pm)
How about 1 vehicle with many turrets? Does it work the same?