I am trying to make a rotating mouse pointer.
I have the mouse pointer working fine, but I can’t get it to rotate.
- First, What I did was create material that has a CustomRotator and Scaler Parameter that can be changed in a blueprint.
- Second, I created Hud blueprint and got my mouse working fine as a static image.
- Then I setup the Construction Script to create a Dynamic Material Instance, and assigned my mouse pointer to it.
- Finally I setup the blueprint to cycle the Scaler Parameter in the material instance for 0 to 1 over and over again so the mouse pointer will rotate.
Step 4 is where is all goes wrong. Here is what I know…
The Print String shows that the value is changing from 0 to 1 with increments of .1 and going back to 0 when it hits 1.
If I manually change that RotationValue in the material and run it, the mouse shows the new rotation, so I know the material is setup correctly.
Currently all I get is the mouse pointer rotated to whatever the default RotationValue is of the material.
Any ideas why this isn’t rotating the mouse pointer?
