# Playcanvas project using 8th wall

**URL:** <https://forum.8thwall.com/t/playcanvas-project-using-8th-wall/1967>\
**Category:** Technical Support\
**Tags:** world-effects, playcanvas\
**Created:** [July 5, 2024, 1:15pm UTC](https://forum.8thwall.com/t/playcanvas-project-using-8th-wall/1967 "2024-07-05T13:15:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![user11](https://avatars.discourse-cdn.com/v4/letter/u/dfb087/32.png) [@user11](https://forum.8thwall.com/u/user11)\
**Post date:** [July 5, 2024, 1:15pm UTC](https://forum.8thwall.com/t/playcanvas-project-using-8th-wall/1967/1 "2024-07-05T13:15:50Z")

</div>

I have created a playcanvas project using 8th wall.  
The sample used is world tracking.  
I would like to make the 3D model placed here face forward when the camera is moved.

---

<div class="post-metadata">

**Author:** ![TonyT](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.8thwall.com/tonyt/32/88_2.png) [@TonyT](https://forum.8thwall.com/u/TonyT)\
**Post date:** [July 10, 2024, 8:54pm UTC](https://forum.8thwall.com/t/playcanvas-project-using-8th-wall/1967/2 "2024-07-10T20:54:05Z")

</div>

I’d check out the `lookAt` function in the PlayCanvas documentation. You could have your 3d model look at the X/Z position (and it’s own Y, so it basically just rotates around the Y axis if that is what you are going for) of the camera entity, so it’s always rotating to face the user (i.e. virtual camera)

> **[Entity | PlayCanvas API Reference](https://api.playcanvas.com/classes/Engine.Entity.html#lookAt)**
>
> Combined API reference manual for PlayCanvas

> **[\[SOLVED\] How to only lookAt X and Z not Y?](https://forum.playcanvas.com/t/solved-how-to-only-lookat-x-and-z-not-y/28587)**
>
> So the enemies in my game are zombies that are supposed to chase the player, but I can’t get their models to look in the direction of the player.The reason I don’t want the enemy model to look at the Y is because when the enemy gets close the...
