microsoft / iot-cardboard-js

iot-cardboard-js is a React library for building experiences for IoT applications
https://main--601c6b2fcd385c002100f14c.chromatic.com/
MIT License
84 stars 26 forks source link

Pause & Play particular Model Animation Based on the condition #904

Open b09h opened 1 year ago

b09h commented 1 year ago

As I am using Azure digital twin 3d scenes Studio (which internally using this package), I need pause and play the particular element in the 3d model based on the condition.

Describe the solution you'd like It is better to give any option while building the model whether to stop or play the model on the condition based.

Example: I need to stop the rotation of the Arm given in the below Image. Suppose the property which I configured is workingStatus and binded to that arm element. I want to stop the Element's Animation (it is rotating for every time) if workingStatus is false.

b09h commented 1 year ago

image

DJmRek commented 1 year ago

+1 would also be interested in a solution for this

scherici commented 1 year ago

+1 I'm working on a real estate solution that use real estate core ontology, and I could have a lot of playable "objects".

sanjeeb-KL commented 1 year ago

+1, interested in this. With this, we can visualize DT in a very detailed way.

AbhishekNayak03 commented 1 year ago

+1, I also want this solution