For my upcoming game in Roblox, I managed to create sails which are animated. They correspond to the winds direction, speed and magnitude.
These sails run at a performant 0.03ms per frame! They also can have the capability to have several in a frame (tested 20) with no change in performance.
Feedback appreciated!
6 Likes
Hey, could you explain how you were able to accomplish this? This is looking very good!
1 Like
Thanks for the reply. I accomplished this using a multitude of sine waves acting in several directions, relative to time, which would update each bone’s CFrame on a sail I made in blender. My blender model has a base curvature to it as if wind is hitting it, although you can use math to add it through script (like math.sine for a curve)
This would repeat every frame, and renders at specific distances
2 Likes
Wait couldn’t you have used SmartBone for this aswell?
1 Like
I used smartbone, but couldn’t get it to work how I wanted it to. When i got it somewhere close, it would take 1ms per frame, which to me isn’t ideal, so I made it myself.
I am sure this is a possible route, ofcourse.
1 Like
This dynamic animated sail looks GREAT! Nice job on it!
2 Likes