Hello, I’m trying to make a curser in-game, and I just saw it done in a game called “among us” (popular rn), Can you tell me how to recreate this?
0EMPK
I made an example mode which features 1 rule that activates a cursor.
Notes:
- Generally, the horizontal facing angle represents the X axis of the cursor, and the negative of the vertical facing angle represents the Y axis of the cursor.
- The difference between two angles is
new_angle - original_angle
. In this example, this is used so that both the player’s facing angles wouldn’t have to be reset to(0, 0)
in order for the cursor to start at(0, 0)
. - The vertical facing angle of a player is negative while looking up, and positive while looking down, which is the negative of what we want. So we find the negative of each facing angle when finding the angle difference like this:
(-new_angle) - (-original_angle)
. This can be simplified tooriginal_angle - new_angle
, which is what is used. -
World Vector Of
was used so that the cursor could be in front of the player. You don’t have to use this, though, especially if you useStart Camera
to put the camera in a different location along with the cursor, which is what the Among Us game mode does.
Feel free to ask questions.
1 Like
Thanks, I’ll check it out in a bit,
but there are more pressing matters right now, as icons don’t work in PTR