Hi, Im just looking for someone who is more knowledgable than I (so probably everyone on here) to just take a quick look at this script and just let me know if this is the best way of doing it (for optimization and/or any other reason) and if not point me in the right direction. Be Fore-warned this is the first script in any form i have EVER written myself. totally open to suggestions here.
I made the effect i wanted in max and threw out a quick render, this is what im aiming for - https://www.youtube.com/watch?v=n3wQt7lGaMg
Im still trying to figure out how to export the animation correctly from 3ds max so i can fake the physics rather than have them computed every time. so any advice/links to tutorials on that would also be appreciated. Is there any way to do it other than rigging and skinning it???
The basic idea is that the tree will degrade as it is harvested, I havent put a weapon on the main character so i’ve just set it up for when hitting anything to test it. My game character currently has a very bad headache.
Just as a side note, i know i could reuse the TreeHealth var and TreeAll mesh nodes but this just looked nicer to my OCDesc brain
really appreciate any help you can offer, thanks in advance.