UE1 - UT Logging position and rotation data

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

Number Nine

New Member
Oct 31, 2011
2
0
0
Greetings,

I'd hoped to solve this myself while getting familiar with Unreal Script (something I've been meaning to do anyway), but deadlines have forced me to ask for help from those of you who know the editor better than I do.

I've designed a series of virtual environments using the Unreal engine and I'm looking for a way to log position and rotation data as a player is navigating through the play area (and preferably save it to a text file so it can be viewed later). It occurs to me that the simplest way to go about this would be to store player position and rotation vectors in an array and export the whole thing to the log file, but it's very important that values are collected and stored at fixed time intervals (e.g. 30 times a second or so). Have I overlooked a very obvious solution?
 
Last edited:

Number Nine

New Member
Oct 31, 2011
2
0
0
UTF16LE is no problem. Looking at the class, statlogfile looks like it will work perfectly. Thank you.