Add the floor
component to any object you want the player to be able to walk on.
<a-box floor></a-box>
Property | Description | Default |
---|---|---|
physics | Whether or not to add physics components automatically. | true |
Event | Description |
---|---|
enter | Player enters the floor |
leave | Player leaves the floor |
step | Player takes a simulated step |