# Make Instanced Static Meshes Face Camera

**URL:** <https://forums.unrealengine.com/t/make-instanced-static-meshes-face-camera/300593>\
**Category:** Rendering\
**Tags:** unreal-engine, Instanced-Mesh, question\
**Created:** [December 4, 2014, 6:45pm UTC](https://forums.unrealengine.com/t/make-instanced-static-meshes-face-camera/300593 "2014-12-04T18:45:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hyperdr1ve](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@hyperdr1ve](https://forums.unrealengine.com/u/hyperdr1ve)\
**Post date:** [December 4, 2014, 6:45pm UTC](https://forums.unrealengine.com/t/make-instanced-static-meshes-face-camera/300593/1 "2014-12-04T18:45:40Z")

</div>

I’m trying to use instanced static meshes like billboards to reduce my draw calls. I want to:

- Have the instanced static meshes facing the camera at all times
- Avoid doing the rotation on the CPU

The first thing I tried was using the AlignMeshToTheCamera node in my material. This works great on my billboards but it seems that instanced static meshes are setup using local space offsets from their origin. It’s not clear to me how I get their world space location in the shader to offset this.

---

<div class="post-metadata">

**Author:** ![hyperdr1ve](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@hyperdr1ve](https://forums.unrealengine.com/u/hyperdr1ve)\
**Post date:** [December 4, 2014, 9:50pm UTC](https://forums.unrealengine.com/t/make-instanced-static-meshes-face-camera/300593/2 "2014-12-04T21:50:17Z")

</div>

If you use the Math Hall Example 2.21 and in the shader swap out Actor Position with ObjectPivotPoint, it works as desired.
