cryptovoxels / issues

🐞 Bugs and issues to be resolved on cryptovoxels
5 stars 1 forks source link

Use gizmos to position wearables #78

Closed bnolan closed 4 years ago

bnolan commented 4 years ago

Instead of using the number columns, use babylon.js gizmos to position avatar attachments and convert them into the correct coordinate system so they’re attached to the skeleton.

https://cryptovoxels.nolt.io/40

bnolan commented 4 years ago

I almost had this working, but I found it hard to have the gizmos operating in world space (axis aligned drag handles), but then work out what the rotation and position should be when rotated into the coordinate space of the bone that you're attached to.

Gizmos on head => easy Gizmos on hands => omg my brain so hard

bnolan commented 4 years ago

Done!