-
What do you want to achieve? turning degree to a direction
-
**What is the issue?**i dont know how
-
What solutions have you tried so far? i didnt do any
for example if i got the degree of °45 in vector2 that will be vector2.new(1,1)
something like how lookvector works
it would be Vector2.new(math.cos(a),math.sin(a))
(a is the angle, make sure it’s in radians)
ps. it’s not vector2.new(1,1) for a 45deg angle, it would be sqrt(2)/2 instead of 1
2 Likes
system
(system)
Closed
#3
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.