Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- func get_forward():
- return Vector2(cos(get_rot() + PI/2.0), sin(get_rot() + PI/2.0)))
- Where forward is "up"
- (Originally, 0 degree angle is towards the right)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement