Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 /
  • Help Room /
avatar image
0
Question by FullHeartGames · Feb 13, 2018 at 03:48 AM · vector3mathalgebra

Vector Math - Linear Algebra

I am trying to make a connection in my linear algebra class! Here is a snippet from the textbook.

alt text

I am guessing this would be equivalent to new Vector3(2,3,3) ? Thanks in advance!

capture.jpg (18.1 kB)
Comment
Add comment · Show 1
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 raoul_95 · Feb 13, 2018 at 04:12 AM 0
Share

Thats correct only.

2 Replies

· Add your reply
  • Sort: 
avatar image
4

Answer by Owen-Reynolds · Feb 13, 2018 at 06:33 AM

To translate that into Unity code, every Vector3 can be created using:
a*Vector3.right + b*Vector3.up + c*Vector3.forward

But there's no reason to do that. Your equation is part of the explanation of a basis for a space. It's explaining that those 3 vectors can make point, but they're just one option. In other words, they're not "the" axises - they're just one possible set.

Comment
Add comment · Show 5 · Share
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 elenzil · Feb 13, 2018 at 06:26 PM 0
Share

this is all correct. fwiw, a basis of a vector space of dimension N (eg N = 3 for three dimensions) is any set of N vectors, which when normalized, each have a dot-product of magnitude strictly less than one with each other vector. ... that's just a mathy way of saying none of them are parallel or anti-parellel with each other. an "orthonormal" basis is a special case where the vectors are all mutually perpendicular and normalized. (because they're all mutually perpendicular, the dot products will all be zero) the "right", "up", and "forward" vectors form an orthonormal bases for ℝ3.

avatar image Owen-Reynolds elenzil · Feb 14, 2018 at 01:49 AM 0
Share

Sure - the OP has a textbook which I assume covers all of that. But the point is that the initial statement is a warm-up for the theory. It's not useful by itself, and isn't meant to be. It's like explaining binary math starting with a re$$anonymous$$der 93 is really 9*10+3.

avatar image elenzil Owen-Reynolds · Feb 14, 2018 at 05:49 PM 0
Share

yes. your answer was great, i'm not disagreeing with it in any way. i'm just adding a bit more info about basis vectors, since they came up. and yes the OP likely has a textbook covering them but that same textbook clearly left some room for doubt when it came to vector addition, so possibly having a different voice talk about basis vectors might help.

avatar image FullHeartGames · Feb 15, 2018 at 03:36 PM 0
Share

Thank you for the rich discussion guys!!

avatar image Owen-Reynolds FullHeartGames · Feb 15, 2018 at 04:12 PM 0
Share

Discussion is the key word here. The main area of Unity Answers is for someone making something and one part of Unity doesn't seem to be working the way it says, and so on (the FAQ explains more.) The Help Room is for discussion, ... really a catch-all. Q's like this are now fine, but it would be nice if they were posted/moved out of default UA and into the Help Room (which I did right away, in this case, so no problems. But if any other Q seems more like a discussion, please more it to be nice to other users.)

avatar image
0

Answer by Meguia · Feb 13, 2018 at 04:06 AM

Hello @FullHeartGames.

You are right on this one!

Comment
Add comment · Show 1 · Share
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 FullHeartGames · Feb 15, 2018 at 03:36 PM 0
Share

Thank you, just wanted to make sure I was thinking about it right, also it led to some interesting discussion!

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

99 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Can someone explain the math behind finding the velocity relative to where I'm looking? 2 Answers

Predicting the hit point on X axis, based on vector direction 1 Answer

Find a point in space using Vector3 angles and Raycast 1 Answer

Applying direction into transform position 0 Answers

Dot product not working when Enemy change its direction 0 Answers


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