johnl3d Posted May 4, 2014 Share Posted May 4, 2014 not a great demo but have 4 bones in model change from a current value for either position or size and vary it with random number range eg currentvalue()+5-rand()*10 currentvaluetest.mov ctimetest.zip Quote Link to comment Share on other sites More sharing options...
Fuchur Posted May 4, 2014 Share Posted May 4, 2014 not a great demo but have 4 bones in model change from a current value for either position or size and vary it with random number range eg currentvalue()+5-rand()*10 currentvaluetest.mov ctimetest.zip please do a simple test u try currentvalue() + 0.1. does it work? Quote Link to comment Share on other sites More sharing options...
Hash Fellow robcat2075 Posted May 4, 2014 Hash Fellow Share Posted May 4, 2014 For some reason when i try downloading the zip i get index.php instead I've had that happen before, what does that? Quote Link to comment Share on other sites More sharing options...
Hash Fellow robcat2075 Posted May 4, 2014 Hash Fellow Share Posted May 4, 2014 I tried a simple test. I'm making the Y rotation of the bone = CurrentValue()+Rand()*5 I would expect the Y value of the bone to get larger by a random amount of 0 to 5 on every frame and make the bone turn around the axis but instead it wiggles in place as if it was always calculating 0+Rand()*5 Is Current Value supposed to have a parameter? I couldn't put one in without an error. Quote Link to comment Share on other sites More sharing options...
johnl3d Posted May 4, 2014 Author Share Posted May 4, 2014 I got the same results you did its like the currentvalue() is the initial value that can be adjust but it des not change itself . Whwn I put in a say bone position in the value I ended up with missing parentheses error or some other error Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.