Need Datablock Suggestion
by Jeff Trier · in Torque Game Engine · 03/15/2003 (5:15 am) · 0 replies
I am creating a deployable tower that is to be mounted much like a vehicle, and will contain animations when deployed. This tower is a dts shape since I don't need the player to run around in it, and it needs to be destructable.
My question is, what type of datablock type should I use? I have read Tims resource on datablocks as well as a few others. But I am not sure which is the best class of datablock to use.
Am I correct in assuming "StaticShapeData"? ... But there are also a few others (wish I knew where there was a complete listing).
Also, when creating this object, do I use "new TSStatic()" to initiate this particular datablock type?
I hope I am being clear, and that I have enough of a grasp on this to make sense... hehe
Thanks all,
-Jeff
My question is, what type of datablock type should I use? I have read Tims resource on datablocks as well as a few others. But I am not sure which is the best class of datablock to use.
Am I correct in assuming "StaticShapeData"? ... But there are also a few others (wish I knew where there was a complete listing).
Also, when creating this object, do I use "new TSStatic()" to initiate this particular datablock type?
I hope I am being clear, and that I have enough of a grasp on this to make sense... hehe
Thanks all,
-Jeff
About the author
Originally a Classical/Metal musician, I've always been attracted to anything involving computers, including: Networking, PC Building and Repair, software design and coding. I've been involved with game design and development for over 10 years.