|
| 07 Mar 2015 08:27 AM |
gui rotation?
professional thinker |
|
|
| Report Abuse |
|
|
yobo89
|
  |
| Joined: 05 Jun 2010 |
| Total Posts: 2341 |
|
| |
|
|
| 07 Mar 2015 09:13 AM |
@yobo platformer,
as in
when you go on an edge you rotate slightly depending on how close you are
professional thinker |
|
|
| Report Abuse |
|
|
|
| 07 Mar 2015 09:19 AM |
| http://wiki.roblox.com/index.php?title=Collision_detection_for_GUIs |
|
|
| Report Abuse |
|
|
|
| 07 Mar 2015 09:22 AM |
@epic
that doesnt do anything for rotation
professional thinker |
|
|
| Report Abuse |
|
|
|
| 07 Mar 2015 09:31 AM |
It helps.
You can try to find the distance to the edge of an object, and determine the rotation from there though. However GUI's don't natively have physics. |
|
|
| Report Abuse |
|
|
|
| 07 Mar 2015 09:34 AM |
| "Seperating Axis Theorem" or SAT is what you are looking for. I did it, but it was very buggy. |
|
|
| Report Abuse |
|
|
|
| 07 Mar 2015 09:34 AM |
| "Separating Axis Theorem" my bad. |
|
|
| Report Abuse |
|
|