Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How do i find the "pitch" angle of a CFrame/vector?

Asked by 2 years ago

i'm trying to simulate bullets using several raycasts chained together and i handle the bullet drop by storing a separate value for downwards speed. the problem is i need to figure out how long to make the raycast and i'm planning on using the cosine law but that requires an angle

1 answer

Log in to vote
1
Answered by 2 years ago

https://developer.roblox.com/en-us/api-reference/datatype/CFrame

or

https://devforum.roblox.com/t/how-to-get-a-cframes-angles/238958/2

might help

Ad

Answer this question