![]() |
VR-Forces Developer's Guide
|
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) |
| 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.