# How to influence textures, objects and scenecapturecube in-game ?

**URL:** <https://forums.unrealengine.com/t/how-to-influence-textures-objects-and-scenecapturecube-in-game/402973>\
**Category:** Rendering\
**Tags:** object, moving-object, unreal-engine, question\
**Created:** [August 27, 2017, 11:58am UTC](https://forums.unrealengine.com/t/how-to-influence-textures-objects-and-scenecapturecube-in-game/402973 "2017-08-27T11:58:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_17da5b8e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_17da5b8e](https://forums.unrealengine.com/u/anonymous_user_17da5b8e)\
**Post date:** [August 27, 2017, 11:58am UTC](https://forums.unrealengine.com/t/how-to-influence-textures-objects-and-scenecapturecube-in-game/402973/1 "2017-08-27T11:58:30Z")

</div>

**i would like to make a small setup**

( for now with mouse/keyboard control but later with VR controllers )

where i can :

- spawn as a VR player

- influence the position of textures in-game ( so make handles for rotation , scaling and if possible even replacing textures in-game )

- influence the position of a scenecapturecube

( i tried fixing it to a springarm like a camera and control it from there but i’m stuck since i can’t find how to attach the scenecapturecube to an object using a springarm , it seems that i cannot )

- influence the position, rotation and scaling of objects

thanx for the help !!  
George

---

<div class="post-metadata">

**Author:** ![DanielOrchard](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/danielorchard/32/636987_2.png) [@DanielOrchard](https://forums.unrealengine.com/u/DanielOrchard)\
**Post date:** [August 27, 2017, 7:23pm UTC](https://forums.unrealengine.com/t/how-to-influence-textures-objects-and-scenecapturecube-in-game/402973/2 "2017-08-27T19:23:20Z")

</div>

Hey,

You can add scene capture components inside a blueprint, if you do it this way you can attach them easily to a spring arm just by parenting them to it. If you want to do it with a scene capture actor, you need to use the AttachTo functions to attach the actor to a spring arm component inside a blueprint.

To spawn as a VR player, use a spawn actor from class function and then possess it.

For textures, you want to make a number of controls inside your material editor, theres functions for texture rotations, so make scalar and vector parameters to drive them, and to change texture you want a texture parameter. Now in blueprint, ideally in construction script, you want to take your mesh, and create a dynamic material instance, and store as a variable. Now when you want to change your texture parameters. Use the dynamic material instance variable, drag off it and use a SetScalarParameter, SetVectorParameter, or SetTextureParameter. You type the name of your parameter into the Set node, and it will drive it at runtime.
