Hello! I want to make a game where players can train their military drill skills as usually, drills are hard for new people to follow. I’ve made the map, the stands where you can get trained, but I can’t come up with an idea for how to detect and calculate the player’s direction for the drills. Any suggestions?
like the direction in which a player is facing…? try Vector3:Dot(), it will give you a decimal between 1 to -1 depending on if the direction of a Vector3 matches another, so you would just need to get the direction that the player is facing, the direction you want them to face, and see if they are (generally) matching the direction, which should be a decimal above like 0.5
2 Likes
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.