UnitedLexCorp / SimpleTalk

An implementation of HyperTalk in Ohm-js
Apache License 2.0
7 stars 1 forks source link

Hand interface interacts a little weird with the navigator #188

Closed ApproximateIdentity closed 3 years ago

ApproximateIdentity commented 3 years ago

Say you start with the bootstrap page and then use importWorld to create another one. Then you start hand recognition on the first world. This will let you move the hand around on that world. If you go to the second world with the navigator, the hand recognition will continue to run, but the hand will keep moving in the first world (you can move your hand around and see the hand moving in the correct way in the little navigator pane below). This seems good actually, but one weird thing is that if I push the hand in the grab things, that calculation is clearly not working correctly. I.e. if I am in world 2 and try to grab things, it isn't correctly doing that in world 1.

I'm sure there are many more things going on. I'm going to play around a bit and see what's happening, but I guess the main question is how do we want for hand recognition to act when moving around in worlds? It seems kind of like the best thing would be for the hand itself to jump to the new world. That is what our mouse cursor is doing after all (it's not part of the ST world directly, but it serves a similar function). Anyway something to think about a little.

ApproximateIdentity commented 3 years ago

This is being fixed in this PR: https://github.com/UnitedLexCorp/SimpleTalk/pull/190