-
Member
Storing vector data?
Is it possible to set up some logic that would store the position of the rider/bike so that after you reach the finish i could do something like showing the "highlights" of your run?
I do not know how to explain it very well but in my mind it would be like freeze the rider and use OPE to put him in certain spots along the track in the same position that the rider was in during the run. This would require the OPE to use data that was somehow stored during the run.
I hope some1 knows what im trying to do and maybe tell me if it can be done and hopefully how it can be done.
-
Member
You can't OPE the Rider & Bike directly, but you can transport the Rider & Bike with the Portal Object. The Portal Object can be OPE anywhere you want, so you'll be able to review the highlights of your run.
To store/remember the positions you want to return to, spawn in a 2D Vector (Matrix). Change the width to 3, and the height to 32. As the track progresses, use a Set Vector Event to copy the XYZ Position of the Rider into the 2D Vector (Matrix). You can get the XYZ Position of the Rider with a Vector Object Info Data Source.
Then when the track is over, OPE the exit Portal Object to your "remembered" position and OPE the entrance Portal Object to your Rider. This way the Rider is transported from the end back to the highlighted position. You could freeze the Rider too if you wanted.
Use this setup to cycle through the highlights. OPE the exit Portal to a new highlight, and OPE the entrance Portal to your Rider. Wait a few seconds to let the viewer see the scenery, and then repeat.
My apologies if this isn't explained very well, I whipped it up pretty fast. I'll be happy to clarify any part you need help with 
Best Regards,
- PneumaticBog484
-
Member
Thank you very much, PneumaticBog484. I will try this best i can but i am not going to lie and say that i understand it all ,a video would be immensly helpfull
. I am far from experienced with all the logic and was hoping for a simpler way but i kinda knew it was going to be hard to get it done.
Bit confused on what exactly will tell at what time to copy the xyz position into the 2D Vector (matrix). I would off assumed i needed to put triggers somewhere but like i said i am way out of my depth with this kind of logic. But atleast i have a starting point to mess around with and maybe i get a better understanding while experimenting.