![]() ![]() Movie studios used it a lot because they built their whole pipeline around it because it was so extensible. I put that code at the end, replacing fs.Close Do I take out the extra 'fileParsed = true ' as well? That came right before the fs.Close At least I'll be the most comedic troubleshooting case in your career. Not sure how to avoid that.In addition, the single sail that doesn't have the sharing violation error (being the initial sail) has a different error:'EndOfStreamException: Failed to read past end of .BinaryReader.FillBuffer (Int32 numBytes)System.IO.BinaryReader.ReadSingle PointCacheReader.ParsePCFile (at Assets/CacheFile/PointCacheReader.cs:251)PointCacheReader.Start (at Assets/CacheFile/PointCacheReader.cs:95)'I don't really do coding, I'm more animating and modeling, so I'm not really sure what this means to be honest.Thanks for your help! Okay the copy pasting worked great for the sharing violations, at least I can do something.I must have implemented your code wrong, I got this:Assets/CacheFile/PointCacheReader.cs(267,26): error CS0136: A local variable named `fs' cannot be declared in this scope because it would give a different meaning to `fs', which is already used in a `parent' scope to denote something elseI'm really sorry I'm like a monkey in a new world here. ![]() ![]() However, I'm using this script on multiple sails and it gives me the sharing violation error. The sails would be difficult at best to bone-animate, and as you know Unity has no native vertex modeling capabilities, so 3DS Max's wind simulations don't carry over.Alright then to the problem.On, someone modified his script to close the filestream at the end, to avoid the Sharing Violation error. Hey guys, I'm new here and was upset about the fact that there is no vertex modeling - so some friendly folks led me to listener's older post about a Point Cache Reader script that would allow me to use my vertex modeling.To give a short point of what I'm making, I have a ship (Like the 1800's style ones), and it has sails. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |