Hello, everyone! I just have a few questions regarding a couple scripting concepts that I may need to improve as I progress to become a more knowledgeable and creative scripter.
What sources can I rely on to learn various trigonometric functions applied in 3D space? Particular on the Roblox Studio game engine/platform?
Where and how is trigonometry usually applied?
What is the main purpose of network ownership in server-client connection or relationship?
I’m a Roblox coder for 1 year of consistent learning and I’m currently trying to dive into new concepts. I’d also appreciate it if you’d provide examples as I’m a visual learner. Thank you!
You can heavily rely on the documentation, Vector3, CFrame and math.* functions will all help you with trigonometric functions, youtube tutorials are a very good way to start or even using a website like Khan Academy.
Trigonometry is usually applied in battle games, or manipulating camera rotation e.t.c, all the Visual Effects you see is done by trig most of the time. I don’t really believe its used as much as you would think. Someone can correct me if i am wrong, because I only made Tycoons so far and some basic battle games
Network Ownership is more crucial to performance on the server it is a Tool, example if you have an object moving really fast, the server has to handle all those calculations and in result you get higher ping. You are able to fix this by giving the player network ownership, this way the client will handle all the physics and calculations on there machine. Imagine it as your Teacher (Server) only taught on the board without giving assignments / homeworks, It’s a lot of strain on the teacher (Server) because you have to go over topics multiple times, now the teacher (Server) starts gives homework, assignments, and resources so the students (Client) can learn on their own and handle everything on their side. Then the Teacher (Server) can prioritize more things. This is a semi-bad analogy but i hope you understand where I am coming from. A side note is to never trust the client too much! They will be able to manipulate certain things if they are an exploiter, if you give them network ownership over another players vehicle they can move it to where they desire.
Edit: Just did some research and it turns out this article is really good getting an average rating of 7 by dev forum users. I will be studying this as well so thank you for making this post!
I heard this video was really good, I haven’t watched it yet but it goes over everything you need to be a game developer.