Hi!
Im working on a security check barrier and I want to animate the barrier so as soon as I approach with simobject OR with the camera so the barrier will open and as soon as I leave certain area it will close.
I made it to open and close based on proximity triggers of the simobject (aircraft) but this is a parking barrier and I want it to open as soon as I get close with the camera, so the only idea I have on mind is to somehow read from the MinSize of the LOD so if the minsize is 30 then play the opening animation, if minsize is >30 play closing animation.I tried everything I know but I didn’t got any results.
I thought of another idea that LOD0 will have opening animation and LOD1 will have the closing animation but if the barrier is half way opened and I switch to LOD1 the barrier will start closing starting from the first frame of the closing animation (0) instead of the keyframe the opening animation was stopped, so if the barrier opening was at keyframe 150 and I switch to LOD1 it will not close from keyframe 150 to 300 but will start from 0 to 300 with closing.
I hope you get my point and I really look forward to find a solution for this.
Thank you!