x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How do I change child actor class (of BP_MotionController) dynamic material via user input.

Hello!

So I'm trying to implement a touch controller mesh using the default motion controller blueprint in the place of the default hand mesh. I'm just trying to change emission of the buttom via dynamic material whenever the buttom is pressed.

My parent Material and my instance material for reference.

I first created an actor blueprint with the controller as a mesh. Inside it's Construction Script I created an Dynamic Material with a variable named Dyn Material.

Inside Event graph I changed scalar parameters of the Dyn Material when the user presses Facebutton1 from both L and R MotionController. I also enabled input when Event BeginPlay (which broke teleportation)

Inside BP_MotionController I deleted the default Hand Mesh and changed it to my controller blueprint and changed its references to the BP.

Now inside VR whenever I press the buttom it changes the material of the actor if it's placed in the world but it doesn't change the mesh of the child actor of the BP_MotionController.

Can anyone gives me direction to an solution or what to do ? I'm new to UE, I spent almost all afternoon trying to change the damn button emission and I couldn't find (or understand if I came across it ) a solution online.

Thanks !

Product Version: UE 4.18
Tags:
more ▼

asked Feb 01 '18 at 02:29 PM in VR

avatar image

Luiz_Domingues
1

(comments are locked)
10|2000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question