VRR-Production / TidyTrainers

Production team for AI
1 stars 1 forks source link

Sweeping / Moping / Vacuuming #44

Open VRR-Production opened 5 years ago

VRR-Production commented 5 years ago

Broom should be holdable with two hands and effect the floor when sweeping

Mop should be on the cart and will "clean" the floor when mopping. Should also be holdable with both hands. Mop pad should register a "wet" state (which allows it to mop the floor) after it has been wetted at the sink and sprayed with the spray bottle.

Vacuum should vacuum the carpeted bedroom, with an on/off state, and being grippable from the top handle

VRR-Production commented 5 years ago

It is okay to edit this. If you need a checklist let me know

Dawsha19 commented 5 years ago

Holding objects with two hands, unable to figure out and not sure if it is possible at the moment with VRTK. Seems like no after looking through the VRTK github issues tab. I've tried to used an example setup for two hand holding(long gun in VRTK example scene) No luck. even replaced the mesh and textures to see if i could hold it with two hands, but no luck, it is offset and the setup seems off with rotation. I would recommend this task be handled with two people at least(one in headset) and one tweaking values in the inspector). Just being one person it makes it almost impossible to test holding stuff with two hands if your two hands are occupied and constantly going headset on/off and pausing unity while running. Much frustration. So for now broom and mop have two snap points. left and right snaphandles(set up for hopefully one day two hand grab will work) but for now one hand mopping and brooming will be for right now.

Dawsha19 commented 5 years ago

As for rotating/move-ability for mop and vacuum, still currently working on them, but am also stuck and unsure what to do with some behavior thats happening with the colliders? I put the artificial rotator on them at the joints on an empty game object and nested the mesh under that. Some reason collision isn't working with floor and the collider for the base of the mop is being duplicated and shifted up? Still unsure how to get the artificial rotator to work with world collision rotating it. I've looked at the examples in the scene like the fridge/cupboard doors. Still tweaking and working on it. Been having issues with the snap handle on the vacuum. Unable to have the hand in a right position, probably need to rework the hierarchy of the vacuum and reset some positions.