ok so i lied a little about not having problems with my grass blades swaying in my other thread. i do, apparently.
i really dont know how to properly solve this:
i have made the swaying with the sine- behavior. and the rough code is:
player is overlapping a grass blade
-set sine angle range/speed to bigger than it is while not overlapping.
now the problems start.
im having issues on how to handle single blades of the grass object, in other words, im having problems picking the specific instances.
i dont really know how to set sine to normal to those blades the player just stopped overlapping since it does it for every instance.
also encountered an issue with sine:
resetting sine angle to something specific is rather problematic,since it doesnt have a default angle to revert to. so,when the range is bigger and i want to set it to smaller, the grass swaying can start from a completely different angle than the sine originally was..?
if i sound confusing, i can make a simple .cap to get my point across lol
anybody wanna help a guy out?
i have candy... <img src="smileys/smiley8.gif" border="0" align="middle" />