didiwerks Posted July 26, 2016 Share Posted July 26, 2016 I'm doing a project, that i have to make a tube grow in a time. I'm using Blender , and exporting all animations does as well, but the scale animation keyframe appears not being interpretated by leadwerks. Can anyone say how to make a tube constantly grow in leadwerks? Because keyframe scale animations not working, such as bones. Quote Link to comment Share on other sites More sharing options...
nick.ace Posted July 26, 2016 Share Posted July 26, 2016 Scaling animation doesn't work in Leadwerks. I don't think it's part of the .fbx file format, but I might be wrong. Your best bet is to either make a shader to scale this yourself (a lot of work and difficult) or you can scale it in your code by scaling the tube (if the tube only has one bone): http://www.leadwerks.com/werkspace/page/api-reference/_/entity/entitysetscale-r31 Quote Link to comment Share on other sites More sharing options...
didiwerks Posted July 26, 2016 Author Share Posted July 26, 2016 how do i set a shader to scale? Quote Link to comment Share on other sites More sharing options...
nick.ace Posted July 26, 2016 Share Posted July 26, 2016 Forget I said that. Is all you have right now a tube? Could you post a video of what your animation is like? I think then it'll be clearer which direction to take. Quote Link to comment Share on other sites More sharing options...
didiwerks Posted July 29, 2016 Author Share Posted July 29, 2016 like this Quote Link to comment Share on other sites More sharing options...
nick.ace Posted July 29, 2016 Share Posted July 29, 2016 Ok, that's not easy to do. You would have to use shaders pretty cleverly to be able to do this. I think you should avoid this type of animation. 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.