VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
hitZoneUtils.h File Reference

Go to the source code of this file.

Functions

DT_DLL_vrfmodel DtVector selectHitZone (const DtSimObjectReference targetObject, DtU8 targetZoneFunction)
 
DT_DLL_vrfmodel DtVector calculateHitZonePosition (const DtSimObjectReference &targetObject, const DtVector &hitZoneOffset)
 

Function Documentation

DT_DLL_vrfmodel DtVector selectHitZone ( const DtSimObjectReference  targetObject,
DtU8  targetZoneFunction 
)

Utility functions to help in entity hit zone selection and calculations.

Select a hit zone for the given zone function. Choose a non-destroyed zone of that function. Return the hit zone offset in entity body coordinates.

DT_DLL_vrfmodel DtVector calculateHitZonePosition ( const DtSimObjectReference &  targetObject,
const DtVector &  hitZoneOffset 
)

Calculate the geocentric position of a hit zone within a target object. Apply the hit zone offset body coordinates to the target object's position.


Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)