networked-aframe / naf-valid-avatars

Example of using realistic animated avatars in networked-aframe.
https://naf-valid-avatars.glitch.me
MIT License
10 stars 0 forks source link

Add some chairs to sit down #23

Closed vincentfretin closed 5 months ago

vincentfretin commented 6 months ago

Related issues:

vincentfretin commented 5 months ago

I already added the unoccupyWaypoint() calls in https://github.com/networked-aframe/naf-valid-avatars/commit/48de6419fd2d1f139384af6f99868afbd4c70a9b for compatibility with waypoints from gltf-model-plus component.

vincentfretin commented 5 months ago

It may be good as an example to create a custom component that creates a grid of chairs specifying number of rows and number of chairs per row, creating a waypoint on it with unique networked id, and using instanced-mesh for all the chairs.

vincentfretin commented 5 months ago

I added avatarPose seatRotation properties on player-info component in https://github.com/networked-aframe/naf-valid-avatars/commit/8d850a6a2d5b8be8661938cb1e67e224e2ad2564 but this is not currently used. I need to open source some other code to use those properties.