Is there a possibility for me to Import a complete mesh of a sail to unity and make the sail "Move" or do i have to seperate the Sail from the ship and animate it in unity?
It would be better to have it as seperate geometry but it can be exported inside of the same fbx file.
Try it with the "attached collider" component. You would just need to have some sail vertices to stick in the ships mesh, so they move with the ship while the sail gets moved by cloth parameters...
What i did was, Animate the Sail using nCloth and nConstrains. Then i Edit > Bake simulation. To get a keyframe.
I exported the modell and then imported to Unity,
Changed the Inspector to legacy. And i can see that i have 200 frames in my scene. But when clicking on the play button to review my Sail. Nothing =(
When you baked the simulation you baked the animation to the vertices. Which is fine except unity doesn't support vertex animation.
Best bet would be a vertex deforming shader or possibly using unity's cloth system. Depending on the complexity of what you are looking for a simple rig and skin could give a cheap wind effect.
Replies
Try it with the "attached collider" component. You would just need to have some sail vertices to stick in the ships mesh, so they move with the ship while the sail gets moved by cloth parameters...
What i did was, Animate the Sail using nCloth and nConstrains. Then i Edit > Bake simulation. To get a keyframe.
I exported the modell and then imported to Unity,
Changed the Inspector to legacy. And i can see that i have 200 frames in my scene. But when clicking on the play button to review my Sail. Nothing =(
Best bet would be a vertex deforming shader or possibly using unity's cloth system. Depending on the complexity of what you are looking for a simple rig and skin could give a cheap wind effect.