Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
This question was closed Jul 16, 2014 at 12:26 AM by robertbu for the following reason:

Design/discussion question

avatar image
0
Question by ijohnston · Jul 16, 2014 at 12:26 AM · player movementcamera rotatecamera movement

Creating a file that records the player position during a game in xyz coordinates

Dear all,

I'm a Professor at a University working on a research project looking at human learning, and I want to understand how people learn to navigate through environments. Unity seems to be an ideal platform to design these types of studies.

The basic design will be that a participant is inserted into the environment and are asked to find a hidden goal. They explore the environment from a first person perspective until they do.

However, I'm having problems seeing how I can get data back from this.

What I need are ways to measure the following:

  1. The total time it takes for them to find the goal from the time of insertion.

  2. The path distance they travel to find the goal from insertion

  3. A description of their path in x,y,z coordinates at regular time intervals so I can determine dwell/search times in certain parts of the environment.

  4. A description of the direction of the camera at regular time intervals so I can try to determine what aspects of the environment they are using to navigate (i.e., which landmarks they are looking at).

I suppose that #3 can be used to determine #1 and #2, so this is the most important one. #4 is a bit of a wish-list time.

Could anyone point in the direction of how to go about solving #3?

Thanks in advance, Ian

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image robertbu · Jul 16, 2014 at 12:27 AM 0
Share

Design/discussion questions like this one should be asked on Unity Forums. Unity Answers addresses single, specific technical questions. The UA format is for someone to ask a single specific question and multiple people try to answer it. Then original poster gets to pick the best answer. Unity Forums on the other hand has a discussion format.

Note that all the information you list here is easily collected. The hard part may be outputting the information for later review. That is Unity's ability to access the disk is limited or non-existant in some environments. For example, a PC build can use standard .NET I/O functions to write pretty much anywhere on the computer. But if you are trying to run your app from the web, you cannot write to the user's computer. For a web build you may end up putting the information in a database through a web interface.

Good luck on your project. It sounds interesting.

avatar image Lo0NuhtiK · Jul 16, 2014 at 12:32 AM 0
Share

If you make a topic for this somewhere in the regular forum, drop a link to it in a comment on here. I think it sounds interesting also.

avatar image ijohnston · Jul 16, 2014 at 04:00 AM 0
Share

Thanks Robertbu, I've opened a thread under the Unity Support forum. Here it is http://forum.unity3d.com/threads/recording-a-players-movement-during-a-game-in-xyz-coordinates-then-outputting-to-a-file.257255/

0 Replies

  • Sort: 

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Using Camera Y Rotation to Determine Player Movement Direction 0 Answers

How do I make my cameras parent follow my player? 0 Answers

"Rotating" the player's movement direction 0 Answers

Camera-based movement is acting wonky 0 Answers

How can I make the camera follow the player's rotation only on the z axis? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges