Quantcast
Channel: Daz Script Developer Discussion - Daz 3D Forums
Viewing all articles
Browse latest Browse all 1036

ERC Freeze set to zero by default

$
0
0

I've created a new ERC Freeze controller and linked it to the X translate property of my object, but when I call SetValue(), I can set the value to anything, but zero. 

So oControllerProperty.setValue(150); sets the new controller to 150, 

oControllerProperty.setValue(-40); sets the new controller to -40

but oControllerProperty.setValue(0); sets the new controller to 1. 

 

EDIT* If I call SetDefaultValue(0) nothing happens. If I call SetDefaultValue(1) , it works. 

 


Viewing all articles
Browse latest Browse all 1036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>