Is It possible to change the friction of an object via blueprint ?
I have a physics object that you can push around a level . I want to be able to increase and decrease the friction of the object during gameplay . I can do this by changing the Physical material , which is almost what I want apart from the change is very sudden .
Ideally I would be able to have the friction settings as a variable that I can change via a Blueprint timeline so that I have more control and the change is more gradual .I have tired this , but as yet I have not been able to access the friction settings for an object via blueprint .
asked Oct 09 '14 at 03:24 PM in Blueprint Scripting
If you would like to alter the friction settings of an object during game play you can try the following:
After setting this up all you will need to do is set up the system you would like to use to change the "AmountOfFriction" variable (in this case it's a float).
Note: You will need to create a Physical Material and apply that to the material that is applied to the object that you would like to affect. You can do this by opening the material editor and selecting your Physical Material under the physical material tab in the details panel.
answered Oct 09 '14 at 08:17 PM
Rudy Q ♦♦ STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here