You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for working on this amazing project. I am finding it super useful.
An issue: every time I set suspendSimulation to true, the "value" for each dice is always NaN. If default (false) there is absolutely no problem the values log just fine. I can provide more context about the code but I am simply changing the property of suspendSimulation.
Another question. Is there any way currently to have this interact with web sockets? I basically want to show to every player in the room the same roll that the user that rolls is seeing. Not the results, the actual 3D animation. Would that be any way to implement that? I am not sure what data I should have to pass to the socket.
Thanks again! Keep up the amazing work.
The text was updated successfully, but these errors were encountered:
I have not tried implementing web sockets for group play, but I am currently working on version 2.0 which will have support for deterministic rolls. I created https://github.com/3d-dice/dice-box-threejs using different libraries to test implementing this feature if you're interested in checking that out. It does not have all the features or documentation of this project though.
Thanks for answering! I have already implemented it in a way that the dices rolling are only showed client side, and the results of the roll are shared to the group after the roll is over. It works pretty well. Now that I think of it, it may be better this way in my particular situation as 4 or 5 people rolling at once means a lot of dices on the screen at once.
Although support for deterministic rolls sounds amazing! Looking forward to it.
Hi!
Thanks for working on this amazing project. I am finding it super useful.
An issue: every time I set suspendSimulation to true, the "value" for each dice is always NaN. If default (false) there is absolutely no problem the values log just fine. I can provide more context about the code but I am simply changing the property of suspendSimulation.
Another question. Is there any way currently to have this interact with web sockets? I basically want to show to every player in the room the same roll that the user that rolls is seeing. Not the results, the actual 3D animation. Would that be any way to implement that? I am not sure what data I should have to pass to the socket.
Thanks again! Keep up the amazing work.
The text was updated successfully, but these errors were encountered: