![]() |
• Physics Manager | ||||||||
|
API Links
Developer Links
|
class ForceRegDefined in:
The C4Forces.hForceReg class represents a custom force type.
Definition
Template Parameters
Constructor
Parameters
Description
The ForceReg template class is used to advertise the existence of a custom force type. The World Manager uses a force registration to construct a custom force, and the World Editor examines a force registration to determine what type of field a custom force can be assigned to. The act of instantiating a ForceReg object automatically registers the corresponding force type. The force type is unregistered when the ForceReg object is destroyed.No more than one force registration should be created for each distinct force type. Base Classes
See Also
|