Object Types question.
by Chris "Dark" Evans · in Torque Game Engine · 07/10/2002 (2:24 pm) · 1 replies
I'm making a climbable object, it can be used for ladders vines, ropes, etc.
I have a couple of questions though.
Do I need to define a ClimbableObjectType in ObjectTypes.h? I haven't made any new objects yet, so I'm a noob to this :)
I'm copying the layout of the staticShape files. I noticed that mTypeMask is defined as "StaticShapeObjectType | StaticObjectType." Should I leave it as that, or try and define a new ClimbableObject type?
I'm making this code very dynamic, and I want to submit it as a resource when it's finished.
I have a couple of questions though.
Do I need to define a ClimbableObjectType in ObjectTypes.h? I haven't made any new objects yet, so I'm a noob to this :)
I'm copying the layout of the staticShape files. I noticed that mTypeMask is defined as "StaticShapeObjectType | StaticObjectType." Should I leave it as that, or try and define a new ClimbableObject type?
I'm making this code very dynamic, and I want to submit it as a resource when it's finished.
Torque 3D Owner Xavier "eXoDuS" Amado
Default Studio Name
Checl all the instances of VehicleObjectType for example to see how it works.