Skip to content

[DynamicData] Add dynamic data folder with multiple scripts to manipulate SOFA Data using UI#225

Merged
epernod merged 1 commit intomainfrom
DynamicData
Jan 11, 2026
Merged

[DynamicData] Add dynamic data folder with multiple scripts to manipulate SOFA Data using UI#225
epernod merged 1 commit intomainfrom
DynamicData

Conversation

@PierreFonda3D
Copy link
Copy Markdown
Contributor

Sofa Data Manipulation from Unity

This PR focuses on adding a user interface that allows direct interaction with the SOFA simulation data. This interface can be used in desktop mode or in VR

Core/Script/UI/DataManager/*

All related scripts and assets can be found in this folder.

Core/Script/UI/DataManager/DynamicSData.cs

This script uses the SofaBaseComponentAPI to connect a UI slider to a specific type of SOFA data used in the simulation.
It is designed to be attached to a prefab called DynamicSofaData.prefab.

image

Two instances of this prefab are shown here.

Core/Script/UI/DataManager/DynamicSDataManager.cs

This script manages the creation and instantiation of the DynamicSData prefabs and links them to the corresponding SOFA context components, enabling dynamic data manipulation from the VR UI.

@PierreFonda3D PierreFonda3D requested a review from epernod January 9, 2026 15:29
@PierreFonda3D PierreFonda3D added the pr: status to review To notify reviewers to review this pull-request label Jan 9, 2026
@epernod epernod added pr: new feature pr: status ready Approved a pull-request, ready to be squashed and removed pr: status to review To notify reviewers to review this pull-request labels Jan 11, 2026
@epernod epernod changed the title [DynamicData] Move dynamic data folder from Private to Public Sofaunity [DynamicData] Add dynamic data folder with multiple scripts to manipulate SOFA Data using UI Jan 11, 2026
@epernod epernod merged commit 58c9660 into main Jan 11, 2026
@epernod epernod deleted the DynamicData branch January 11, 2026 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: new feature pr: status ready Approved a pull-request, ready to be squashed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants