# Canon Man Tutorial: Hierarchical Instanced Static Meshes - July 26th - Live from Epic HQ

**URL:** <https://forums.unrealengine.com/t/canon-man-tutorial-hierarchical-instanced-static-meshes-july-26th-live-from-epic-hq/69848>\
**Category:** Announcements\
**Tags:** unreal-engine, Event\
**Created:** [July 25, 2016, 3:59pm UTC](https://forums.unrealengine.com/t/canon-man-tutorial-hierarchical-instanced-static-meshes-july-26th-live-from-epic-hq/69848 "2016-07-25T15:59:20Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_759e5c3a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_759e5c3a](https://forums.unrealengine.com/u/anonymous_user_759e5c3a)\
**Post date:** [July 25, 2016, 3:59pm UTC](https://forums.unrealengine.com/t/canon-man-tutorial-hierarchical-instanced-static-meshes-july-26th-live-from-epic-hq/69848/1 "2016-07-25T15:59:20Z")

</div>

**WHAT**

In this learning livestream has prepared a mini-game, Canon Man, to demonstrate how to use hierarchical instanced static meshes. We’ll be covering adding and removing instances, the behavior of the meshes when they are removed, and how to manage parallel data using blueprints. Join us for a brick-breaking good time!

**WHEN**  
Tuesday, July 26th @ 2:00PM [Countdown](http://www.timeanddate.com/countdown/to?iso=20160726T1400&p0=207&msg=Livestream)]

**WHERE**  
https://player.twitch.tv/?channel=unrealengine&parent=forums.unrealengine.com&autoplay=false

**WHO**

- Sr Training Content Creator @anonymous_user_97b9083f]([https://twitter.com/Shaddenfreude?lang=en](https://twitter.com/Shaddenfreude?lang=en))
- Community Manager ](?lang=en)

Feel free to ask any questions on the topic in the thread below, and remember, while we try to give attention to all inquiries, it’s not always possible to answer’s questions as they come up. This is especially true for off-topic requests, as it’s rather likely that we don’t have the appropriate person around to answer. Thanks for understanding!

Assets: [https://forums.unrealengine.com/showthread.php?118475](https://forums.unrealengine.com/showthread.php?118475)

Archive:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/2/c/12c2efa57e3dd40bfb76359970304d3d7d7e44b8.jpeg "Canon Man Tutorial: Hierarchical Instanced Static Meshes | Live Training | Unreal Engine") ](https://www.youtube.com/watch?v=bOjYP-c4qhA)

---

<div class="post-metadata">

**Author:** ![motorsep](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/motorsep/32/918698_2.png) [@motorsep](https://forums.unrealengine.com/u/motorsep)\
**Post date:** [July 25, 2016, 4:02pm UTC](https://forums.unrealengine.com/t/canon-man-tutorial-hierarchical-instanced-static-meshes-july-26th-live-from-epic-hq/69848/2 "2016-07-25T16:02:33Z")

</div>

Ohh, sweet!!!

---

<div class="post-metadata">

**Author:** ![ambershee](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ambershee](https://forums.unrealengine.com/u/ambershee)\
**Post date:** [July 25, 2016, 4:11pm UTC](https://forums.unrealengine.com/t/canon-man-tutorial-hierarchical-instanced-static-meshes-july-26th-live-from-epic-hq/69848/3 "2016-07-25T16:11:33Z")

</div>

Funnily enough I’ve been playing with these today. Hopefully the stream content will be made available online elsewhere soon after the stream so that I may review it! 🙂

---

<div class="post-metadata">

**Author:** ![motorsep](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/motorsep/32/918698_2.png) [@motorsep](https://forums.unrealengine.com/u/motorsep)\
**Post date:** [July 25, 2016, 4:18pm UTC](https://forums.unrealengine.com/t/canon-man-tutorial-hierarchical-instanced-static-meshes-july-26th-live-from-epic-hq/69848/4 "2016-07-25T16:18:58Z")

</div>

I’d like to see how (if possible at all) to turn off dithered LOD transitions, and hopefully HISMCs work with static lighting already.

---

<div class="post-metadata">

**Author:** ![Yggdrasil](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Yggdrasil](https://forums.unrealengine.com/u/Yggdrasil)\
**Post date:** [July 25, 2016, 6:03pm UTC](https://forums.unrealengine.com/t/canon-man-tutorial-hierarchical-instanced-static-meshes-july-26th-live-from-epic-hq/69848/5 "2016-07-25T18:03:06Z")

</div>

That’s actually really good timing! 🙂

---

<div class="post-metadata">

**Author:** ![gameDNA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/gamedna/32/1209504_2.png) [@gameDNA](https://forums.unrealengine.com/u/gameDNA)\
**Post date:** [July 25, 2016, 9:58pm UTC](https://forums.unrealengine.com/t/canon-man-tutorial-hierarchical-instanced-static-meshes-july-26th-live-from-epic-hq/69848/6 "2016-07-25T21:58:37Z")

</div>

Hierarchical Instanced Static Meshes save ~30 FPS in my game 🆒

---

<div class="post-metadata">

**Author:** ![ayretek](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ayretek/32/88719_2.png) [@ayretek](https://forums.unrealengine.com/u/ayretek)\
**Post date:** [July 26, 2016, 3:13am UTC](https://forums.unrealengine.com/t/canon-man-tutorial-hierarchical-instanced-static-meshes-july-26th-live-from-epic-hq/69848/7 "2016-07-26T03:13:50Z")

</div>

this kind of canon -\> [https://en.wikipedia.org/wiki/Canon](https://en.wikipedia.org/wiki/Canon)

or this kind of cannon -\> [https://en.wikipedia.org/wiki/Cannon](https://en.wikipedia.org/wiki/Cannon)

… Man 🙂

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_759e5c3a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_759e5c3a](https://forums.unrealengine.com/u/anonymous_user_759e5c3a)\
**Post date:** [July 26, 2016, 3:45pm UTC](https://forums.unrealengine.com/t/canon-man-tutorial-hierarchical-instanced-static-meshes-july-26th-live-from-epic-hq/69848/8 "2016-07-26T15:45:09Z")

</div>

> [@ayretek;570681](#):
>
> this kind of canon -\> [https://en.wikipedia.org/wiki/Canon](https://en.wikipedia.org/wiki/Canon)
> 
> or this kind of cannon -\> [https://en.wikipedia.org/wiki/Cannon](https://en.wikipedia.org/wiki/Cannon)
> 
> … Man 🙂

This kind of Canon: [https://www.youtube.com/watch?v=pbbAPq6vEiA](https://www.youtube.com/watch?v=pbbAPq6vEiA)

It’s named after our legal counsel, , who as advised against naming the project after any games it may have any vague similarities to.

---

<div class="post-metadata">

**Author:** ![motorsep](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/motorsep/32/918698_2.png) [@motorsep](https://forums.unrealengine.com/u/motorsep)\
**Post date:** [July 26, 2016, 7:10pm UTC](https://forums.unrealengine.com/t/canon-man-tutorial-hierarchical-instanced-static-meshes-july-26th-live-from-epic-hq/69848/9 "2016-07-26T19:10:57Z")

</div>

It was a good stream!!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_34fff4d5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_34fff4d5](https://forums.unrealengine.com/u/anonymous_user_34fff4d5)\
**Post date:** [July 26, 2016, 8:23pm UTC](https://forums.unrealengine.com/t/canon-man-tutorial-hierarchical-instanced-static-meshes-july-26th-live-from-epic-hq/69848/10 "2016-07-26T20:23:36Z")

</div>

Hey All,

So on the stream, we were trying to mess around with static shadows. Turns out the Grid Actor and all of it’s components were movable :\ Setting them to static fixed them so they’d generate and receive static shadows. With them being static, lighting built fine, and even if the components were static, it still allowed me to remove instances from the Hierarchical Instance Static Mesh Component.

While testing their removal, it appears as if the static shadows don’t move around with the instance as things get deleted unlike the changing Per-Instance Random values. Of course, cast shadows stayed put creating a number of artifacts.

---

<div class="post-metadata">

**Author:** ![motorsep](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/motorsep/32/918698_2.png) [@motorsep](https://forums.unrealengine.com/u/motorsep)\
**Post date:** [July 26, 2016, 8:43pm UTC](https://forums.unrealengine.com/t/canon-man-tutorial-hierarchical-instanced-static-meshes-july-26th-live-from-epic-hq/69848/11 "2016-07-26T20:43:26Z")

</div>

> [@Shaddenfreude;571145](#):
>
> Hey All,
> 
> So on the stream, we were trying to mess around with static shadows. Turns out the Grid Actor and all of it’s components were movable :\ Setting them to static fixed them so they’d generate and receive static shadows. With them being static, lighting built fine, and even if the components were static, it still allowed me to remove instances from the Hierarchical Instance Static Mesh Component.
> 
> While testing their removal, it appears as if the static shadows don’t move around with the instance as things get deleted unlike the changing Per-Instance Random values. Of course, cast shadows stayed put creating a number of artifacts.

If I use direct light (static) and my HISMC actor is static also, and I am in ES2 preview, HISMC is pitch black. Plus dithering kills performance.

---

<div class="post-metadata">

**Author:** ![dmo9001](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dmo9001](https://forums.unrealengine.com/u/dmo9001)\
**Post date:** [July 26, 2016, 11:29pm UTC](https://forums.unrealengine.com/t/canon-man-tutorial-hierarchical-instanced-static-meshes-july-26th-live-from-epic-hq/69848/13 "2016-07-26T23:29:07Z")

</div>

A couple of questions:

a) did this session cover navmesh generation over HISMs? Because this seems to be somewhat problematic in 4.11, especially for C++ users; I seem to need to do ReregisterAllComponents() to get Navmesh generation to happen on newly spawned instances - UpdateComponentTransforms() didn’t work for me (as per this old thread concerning 4.6)

b) will the video be put up somewhere aftewards? I was asleep when this was on so I missed it.

Many thanks.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_34fff4d5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_34fff4d5](https://forums.unrealengine.com/u/anonymous_user_34fff4d5)\
**Post date:** [July 27, 2016, 6:13pm UTC](https://forums.unrealengine.com/t/canon-man-tutorial-hierarchical-instanced-static-meshes-july-26th-live-from-epic-hq/69848/15 "2016-07-27T18:13:11Z")

</div>

Heya dmo9001,

We did not cover navmesh generation. Also, the method we used to manage collision (creating and removing blocking volumes) would have caused a dynamic navmesh to update regardless.

VOD is available at [Twitch](https://www.twitch.tv/unrealengine/v/80118521)

Not sure when the youtube video will be up, as there was some cross streaming hickups.

---

<div class="post-metadata">

**Author:** ![motorsep](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/motorsep/32/918698_2.png) [@motorsep](https://forums.unrealengine.com/u/motorsep)\
**Post date:** [July 27, 2016, 7:21pm UTC](https://forums.unrealengine.com/t/canon-man-tutorial-hierarchical-instanced-static-meshes-july-26th-live-from-epic-hq/69848/16 "2016-07-27T19:21:49Z")

</div>

@Shaddenfreude PM’ed you

---

<div class="post-metadata">

**Author:** ![Pirate\_Tony](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pirate\_Tony](https://forums.unrealengine.com/u/Pirate_Tony)\
**Post date:** [July 27, 2016, 9:14pm UTC](https://forums.unrealengine.com/t/canon-man-tutorial-hierarchical-instanced-static-meshes-july-26th-live-from-epic-hq/69848/17 "2016-07-27T21:14:02Z")

</div>

> [@;570406](#):
>
> Funnily enough I’ve been playing with these today. Hopefully the stream content will be made available online elsewhere soon after the stream so that I may review it! 🙂

It would be awesome ! ))

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_49a519741](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_49a519741](https://forums.unrealengine.com/u/anonymous_user_49a519741)\
**Post date:** [July 28, 2016, 5:52am UTC](https://forums.unrealengine.com/t/canon-man-tutorial-hierarchical-instanced-static-meshes-july-26th-live-from-epic-hq/69848/18 "2016-07-28T05:52:06Z")

</div>

Regarding that “Pre-shadow” warning message:

> **[Large actor receives a pre-shadow and will cause an extreme performance hit](https://forums.unrealengine.com/questions/3438/large-actor-receives-a-pre-shadow-and-will-cause-a.html)**
>
> The strategy game I’m working on has a lot of “large” (in Unreal units) actors although they’re relatively light in terms of poly and material counts. Regardless, when building lighting I have two actors in particular that generate the error: ...

---

<div class="post-metadata">

**Author:** ![masterneme](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@masterneme](https://forums.unrealengine.com/u/masterneme)\
**Post date:** [July 28, 2016, 10:26pm UTC](https://forums.unrealengine.com/t/canon-man-tutorial-hierarchical-instanced-static-meshes-july-26th-live-from-epic-hq/69848/19 "2016-07-28T22:26:17Z")

</div>

Hey , I watched the video and you mention that there are tutorials to make the camera zoom in and out depending of the distance between players, do you have a link?

---

<div class="post-metadata">

**Author:** ![Henry\_Read](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Henry\_Read](https://forums.unrealengine.com/u/Henry_Read)\
**Post date:** [August 1, 2016, 6:13am UTC](https://forums.unrealengine.com/t/canon-man-tutorial-hierarchical-instanced-static-meshes-july-26th-live-from-epic-hq/69848/20 "2016-08-01T06:13:56Z")

</div>

That’s sweet…

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_49a519741](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_49a519741](https://forums.unrealengine.com/u/anonymous_user_49a519741)\
**Post date:** [August 1, 2016, 1:32pm UTC](https://forums.unrealengine.com/t/canon-man-tutorial-hierarchical-instanced-static-meshes-july-26th-live-from-epic-hq/69848/21 "2016-08-01T13:32:30Z")

</div>

I have a project that uses regular ISMs and they move around just fine. So how is being able to change the transform the difference between HISMs and ISMs?  
The only complication I can think of is that I’m changing the ISM loc/rot in C++.

---

<div class="post-metadata">

**Author:** ![wilberolive](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@wilberolive](https://forums.unrealengine.com/u/wilberolive)\
**Post date:** [August 8, 2016, 10:00pm UTC](https://forums.unrealengine.com/t/canon-man-tutorial-hierarchical-instanced-static-meshes-july-26th-live-from-epic-hq/69848/22 "2016-08-08T22:00:50Z")

</div>

Why are you using HISM instead of ISM? The only difference between them is that HISM allows per-instance LOD, but this adds an additional overhead. In situations where per-instance LOD isn’t required like in this example, it is better to use ISM.

[Next page](https://forums.unrealengine.com/t/canon-man-tutorial-hierarchical-instanced-static-meshes-july-26th-live-from-epic-hq/69848.md?page=2)
