Page MenuHomeFeedback Tracker

[Request] expand attachedTo & attachedObjects to return selections, rather than just whole objects
New, NormalPublic

Description

At the moment it is possible to attach an object to a selection (mempoint) of another object, with offset relative to that selection, but it's not possible to then get which mempoint the object is attached to. attachedTo only returns the overall object.
It would be useful if attachedTo could do that.

Proposed syntax:

attachedTo [_object]; // returns array in format [_parentObject, "selectionName", _isFollowingBoneRotation]
attachedObjects [_object]; // returns array of arrays in format [[_childobject1, "selectionName", _isFollowingBoneRotation], [_childobject2, "selectionName2", _isFollowingBoneRotation]]

Details

Severity
Feature
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
Scripting
Additional Information

It would also be nice to have commands for getting position and vector relative to a selection. I think these are doable with vector maths but it's a real pain to get your head around.

Event Timeline

NikkoJT created this task.Apr 28 2024, 3:59 AM