playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Finding angle on a slope 2d
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Finding angle on a slope 2d (Read 1436 times)
RC
Full Member
Posts: 148
Finding angle on a slope 2d
«
on:
October 12, 2016, 10:27:26 PM »
Hi,
Can someone help me out on how I can find the angle on a slope?
This is how I did it, but the return angle is wrong.
Raycast 2d get normal
get atan from vector 2 "grab it from raycast normal"
thanks.
Logged
RC
Full Member
Posts: 148
Re: Finding angle on a slope 2d
«
Reply #1 on:
October 14, 2016, 10:16:25 AM »
Hi. I have you found Jean sample "align to floor" it's exactly how I would like to be able to do it, but instead in 2d.. thanks
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Finding angle on a slope 2d