# which side of the box

**URL:** <https://forums.unrealengine.com/t/which-side-of-the-box/17550>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [December 20, 2014, 3:27pm UTC](https://forums.unrealengine.com/t/which-side-of-the-box/17550 "2014-12-20T15:27:53Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![PaYo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PaYo](https://forums.unrealengine.com/u/PaYo)\
**Post date:** [December 20, 2014, 3:27pm UTC](https://forums.unrealengine.com/t/which-side-of-the-box/17550/1 "2014-12-20T15:27:53Z")

</div>

I would like to make something like model of which side of the box it hits the ground

i create a box with component to a ball, i want to Blueprints to recognize with side of the box it hit the ground or other box  
something like this

---

<div class="post-metadata">

**Author:** ![Fen](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/fen/32/635651_2.png) [@Fen](https://forums.unrealengine.com/u/Fen)\
**Post date:** [December 20, 2014, 4:20pm UTC](https://forums.unrealengine.com/t/which-side-of-the-box/17550/2 "2014-12-20T16:20:01Z")

</div>

Hello,  
Something similar have been discussed recently : [Reading the face of Dice? - Blueprint Visual Scripting - Unreal Engine Forums](https://forums.unrealengine.com/showthread.php?54092-Reading-the-face-of-Dice&highlight=side+dice) You’ll find there different possibilities.

---

<div class="post-metadata">

**Author:** ![PaYo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PaYo](https://forums.unrealengine.com/u/PaYo)\
**Post date:** [December 20, 2014, 5:01pm UTC](https://forums.unrealengine.com/t/which-side-of-the-box/17550/3 "2014-12-20T17:01:08Z")

</div>

i hope so if it recognize one box it wont colide with the other if i set a couple of boxes

---

<div class="post-metadata">

**Author:** ![Fen](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/fen/32/635651_2.png) [@Fen](https://forums.unrealengine.com/u/Fen)\
**Post date:** [December 20, 2014, 5:18pm UTC](https://forums.unrealengine.com/t/which-side-of-the-box/17550/4 "2014-12-20T17:18:36Z")

</div>

Personaly, i would follow jacky’s idea for that and check velocity of both dices = 0 and then check z socket or z box position like pattym / Xces suggested.

---

<div class="post-metadata">

**Author:** ![PaYo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PaYo](https://forums.unrealengine.com/u/PaYo)\
**Post date:** [December 20, 2014, 6:25pm UTC](https://forums.unrealengine.com/t/which-side-of-the-box/17550/5 "2014-12-20T18:25:03Z")

</div>

im still learning, what is sockets? and what difference is from components ?

---

<div class="post-metadata">

**Author:** ![Fen](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/fen/32/635651_2.png) [@Fen](https://forums.unrealengine.com/u/Fen)\
**Post date:** [December 20, 2014, 6:52pm UTC](https://forums.unrealengine.com/t/which-side-of-the-box/17550/6 "2014-12-20T18:52:08Z")

</div>

At first sockets were in skeletal meshes, points where you can attach other actors (weapons, clothes) : [SkeletalMeshSockets | Unreal Engine Documentation](https://docs.unrealengine.com/latest/INT/Engine/Content/Types/SkeletalMeshes/Sockets/index.html) But you can add sockets to static meshes too now (open mesh editor : window / socket manager : create socket.) and retrieve its relative positon to the actor.

A component is an element that you add to a blueprint actor : Your “dice mesh” is a component of your actor “blueprint dice” like the boxes you can add on each face. But an actor is not only a blueprint.  
Your static mesh set alone in your level and used via your level blueprint is an actor too ^^ : [Common Actor Types | Unreal Engine Documentation](https://docs.unrealengine.com/latest/INT/Engine/Actors/Types/index.html)

---

<div class="post-metadata">

**Author:** ![PaYo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PaYo](https://forums.unrealengine.com/u/PaYo)\
**Post date:** [December 20, 2014, 10:18pm UTC](https://forums.unrealengine.com/t/which-side-of-the-box/17550/7 "2014-12-20T22:18:28Z")

</div>

thx, that a lot of help
