Page 1 of 1

Changing Properties Dynamically

Posted: Mon Jan 23, 2012 9:24 am
by umairazfar
I want to change properties like roughness, bounciness, elasticity in real-time. I think this is only allowed with DynamicRoughness and not with any other property. Can the properties of objects changed dynamically in-game, if yes, how?

Re: Changing Properties Dynamically

Posted: Mon Jan 23, 2012 9:39 am
by umairazfar
Nevermind, I figured it out, I was making a mistake

I had declared my own Material class and was only changing properties in it and not the Material properties of the Bepuphysics class