# aframe-lookatme

> Aframe Component to make objects face entity with id #camera in scene

Latest version **0.0.3** (published 2023-05-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install aframe-lookatme
pnpm add aframe-lookatme
yarn add aframe-lookatme
bun add aframe-lookatme
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2023-05-10 |
| First published | 2022-12-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 1.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | mike.mainguy@gmail.com |
| Maintainers | mmainguy |
| Keywords | 3d, three.js, oculus, aframe, components, VR, webxr, webvr |

## Links

- npm: https://www.npmjs.com/package/aframe-lookatme
- npm.io page: https://npm.io/package/aframe-lookatme

## Dependencies (1)

- [aframe](https://npm.io/package/aframe.md) ^1.3.0

## Recent versions

- 0.0.3 (latest) — 2023-05-10
- 0.0.2 — 2023-01-15
- 0.0.1 — 2022-12-06

## README

# lookatme.js
Simple a-frame component to make entities always face the camera.
To use, add a camera with id="camera" and add the component to an entity.

This is particularly if you have text nodes that you want always
facing the camera.

## Example:
```html
<!DOCTYPE html>
<html>
<head>
    <script src="https://aframe.io/releases/1.4.1/aframe.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/aframe-lookatme@0.0.1/lookatme.js"></script>
</head>
<body>
<a-scene>
    <a-box position="-1 0.5 -3" color="#ff2200" lookatme></a-box>
    <a-box position="-1 2 -3" color="#4CC3D9" ></a-box>
    <a-camera animation="property: position; from: 3 0 5; to: -2 0 3; dur: 3000; loop: true"
              id="camera" position="3 0 5"></a-camera>
    <a-sky color="#ECECEC"></a-sky>
</a-scene>
</body>
</html>
```

---
_Source: https://npm.io/package/aframe-lookatme · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
