Page MenuHomeFeedback Tracker

Set PositionOffset and AnglesOffset to Entity Transformation and EntitySlotInfo
Assigned, NormalPublic

Description

Hi, i'm making a way to rack/unrack all weapons into the actual weapons rack using Slots and EntitySlotInfo::SetAdditiveTransformLS. But i'm struggiling when it comes to provide a good mat[4] transform.

In the example project i provide there is only a test script where I'm trying to setTransform to a weapon into specific angles and position but it disappears for some reason. I asume because transformation has scale information that is wrong.

Maybe as a feature could be interesting to add EntitySlotInfo::SetOffsetPosition and EntitySlotInfo::SetOffsetAngle independently in EntitySlotInfo (IEntity already has this options). That would solve my problem to ;)

Thx,
Spyke.

P.D: You can contact me in Discord if you want (spyke97)

Details

Severity
Feature
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
General
Steps To Reproduce

There is an ActionManager in the MRE to execute the script

Event Timeline

Geez changed the task status from New to Assigned.Sep 26 2023, 4:55 PM