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 /
avatar image
0
Question by mryasaremir · Aug 22, 2018 at 05:42 PM · mathmathsmathf.sinmathf.cos

How can I get a point position in circle line

alt text

Positions on the three-dimensional plane are 45 degrees apart on the circle. The positions corresponding to the angles are indicated on the left. What happens to the position of a random angle coming from the central point of the circle in the 3-dimensional plane on the corresponding circle line? As an example, I try to find the position between two specific positions of a random angle that emerges from the 45 degree circular section of the circle I have specified in blue.

untitled-1-recovered.png (166.6 kB)
Comment
Add comment · Show 7
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 TreyH · Aug 22, 2018 at 08:13 PM 1
Share

I don't want to be that guy, but is this Unity related?

avatar image JVene TreyH · Aug 22, 2018 at 11:47 PM 1
Share

I find some are trigger happy to delete a post like this. Frankly, Unity is about graphics, graphics is about math. Yes, this is a simple trig question, but that is fundamental to graphics, so I really take exception to those who would strike a question like this, but then I'm just a visitor here ;)

avatar image elenzil JVene · Aug 22, 2018 at 11:57 PM 1
Share

I'm with JVene. There are other communities out there for specific topics, but one advantage of Unity Answers is that the communityis a familiar one: people working with unity. If you bring general math problems to say math.stackexchange, you're likely to get an answer which doesn't appreciate the unity-context of the question.

Show more comments
avatar image mryasaremir TreyH · Aug 23, 2018 at 12:30 AM 0
Share

Actually you're right. the question I'm asking looks like mathematics, but I want to do this in unity, when I look in mathf documentation I don't understand some methods using I getting confused and I need to know which methods I will use for solve it. I don't want rewrite mathf dictionary :) thanks for be interested

avatar image JVene mryasaremir · Aug 23, 2018 at 12:32 AM 0
Share

elenzil has it right. There are variations, and it may be a curious factual point to know that the standard from math is that rotations are positive counter clockwise, and zero degrees is a point on the x axis (pointing to the right). It seems odd, as when I was a kid in school I thought it should work like a clock, but the conventions are very old.

Show more comments

1 Reply

· Add your reply
  • Sort: 
avatar image
4
Best Answer

Answer by elenzil · Aug 22, 2018 at 07:26 PM

it looks like your circle is horizontal. in that case,

 x = cos(theta) * radius + center.x
 y = center.y
 z = sin(theta) * radius + center.z


you might swap x and z if it fits your coordinates better

Comment
Add comment · 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

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

97 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

Related Questions

Field of view cone positioning? 0 Answers

Issues constraining angles in CCD 0 Answers

How to get the corrrect Stereo Projection matrices 1 Answer

How to have an object be plotted with an angle and altitude around an object 1 Answer

Calculate speed for distance with bpm 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