A-frame: how to set up wall colliders

Can someone tell me how to set up wall colliders? I set up the room using OBJ files for the walls. Many thanks.

+4
source share
1 answer

Take a look at the source code for Don McCurdy's β€œWalls” example: https://sandbox.donmccurdy.com/vr/walls/

Note the addition of a physical component to the a-scene element. This is what gets magic.

You need to include aframe-extras script along with aframe.

+5
source

Source: https://habr.com/ru/post/1660899/


All Articles