Page MenuHomeFeedback Tracker

[Feature Request] HumanItemAccessor::WeaponGetCameraPointBoneRelative()
Closed, ResolvedPublic

Description

Currently the function(s) within HumanItems.h

class HumanItemAccessor::WeaponGetCameraPointBoneRelative(notnull EntityAI pCamEntity, vector pCamPoint, vector pCamDir, int pBoneIndex, out vector pTm[4])
&
class HumanItemAccessor::WeaponGetCameraPointMSTransform (notnull EntityAI pCamEntity, vector pCamPoint, vector pCamDir, out vector pTm[4]);

is tied (under the engine) to local assigned (controlled instance of DayZPlayer), there is no way to change that. This function is useful to calculate transformations but unable to change to use other instances of DayZPlayer (not controlled by client i.e REMOTE instances of DayZPlayer)

A small tweak perhaps to allow passing parameter of the desired DayZPlayer instance to apply the calculations of and generate resulting transformation.

Details

Severity
Tweak
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
Modding

Event Timeline

markkoky44 changed Severity from Tweak to Minor.Jun 29 2022, 9:30 AM
markkoky44 changed Severity from Minor to Feature.Jul 14 2022, 9:45 AM
markkoky44 changed Reproducibility from Always to N/A.
markkoky44 changed Category from General to Modding.
markkoky44 renamed this task from HumanItemAccessor::WeaponGetCameraPointBoneRelative() to [Feature Request] HumanItemAccessor::WeaponGetCameraPointBoneRelative().Feb 7 2023, 2:33 AM
markkoky44 changed Severity from Feature to Tweak.

Ticket can be closed, for future reference for others: the class HumanItemAccessor methods for each entity is tied to Human instance. Access it via Human::GetItemAccessor(); and the methods within HumanItemAccessor will be relative to the entity. The features mentioned above in the original ticket are working as intended

Geez closed this task as Resolved.Feb 14 2023, 7:03 PM
Geez claimed this task.